From 3acf94818273c3676b0df6cae063ab977b8f0fef Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 23 Feb 2021 14:38:03 -0800 Subject: [PATCH] feat: deprecate TransferableSkus field (#44) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/679a8fed-21f3-4860-990c-bf5199c9e87f/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 358862009 Source-Link: https://github.com/googleapis/googleapis/commit/2916ac4a35c49441baa5dc8c7e2ad5a1205ed2ca BREAKING CHANGE: TransferableSkus field deprecation. Okay to make this change since no clients are using the libraries that were released just last week. The fields were supposed to be deprecated but missed. We have communicated to clients about this change. --- .../channel/v1/CloudChannelServiceClient.java | 698 +++++----- .../v1/CloudChannelServiceClientTest.java | 3 - .../channel/v1/CloudChannelServiceGrpc.java | 1152 +++++++---------- .../clirr-ignored-differences.xml | 54 + .../v1/CreateChannelPartnerLinkRequest.java | 193 --- ...ateChannelPartnerLinkRequestOrBuilder.java | 29 - .../cloud/channel/v1/EntitlementsProto.java | 32 +- .../google/cloud/channel/v1/ServiceProto.java | 548 ++++---- .../cloud/channel/v1/TransferableSku.java | 554 -------- .../channel/v1/TransferableSkuOrBuilder.java | 70 - .../channel/v1/channel_partner_links.proto | 2 +- .../google/cloud/channel/v1/common.proto | 2 +- .../google/cloud/channel/v1/customers.proto | 2 +- .../cloud/channel/v1/entitlements.proto | 8 +- .../google/cloud/channel/v1/offers.proto | 2 +- .../google/cloud/channel/v1/operations.proto | 2 +- .../google/cloud/channel/v1/products.proto | 2 +- .../google/cloud/channel/v1/service.proto | 301 ++--- .../cloud/channel/v1/subscriber_event.proto | 2 +- synth.metadata | 6 +- 20 files changed, 1336 insertions(+), 2326 deletions(-) create mode 100644 proto-google-cloud-channel-v1/clirr-ignored-differences.xml diff --git a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java index e85570af..328315aa 100644 --- a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java +++ b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java @@ -196,8 +196,8 @@ public final OperationsClient getOperationsClient() { *
  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. * * - *

    Return Value: <br/> List of [Customer][google.cloud.channel.v1.Customer]s pertaining - * to the reseller or empty list if there are none. + *

    Return Value: List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the + * reseller or empty list if there are none. * *

    Sample code: * @@ -234,8 +234,8 @@ public final ListCustomersPagedResponse listCustomers(ListCustomersRequest reque *

  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. * * - *

    Return Value: <br/> List of [Customer][google.cloud.channel.v1.Customer]s pertaining - * to the reseller or empty list if there are none. + *

    Return Value: List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the + * reseller or empty list if there are none. * *

    Sample code: * @@ -273,8 +273,8 @@ public final ListCustomersPagedResponse listCustomers(ListCustomersRequest reque *

  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. * * - *

    Return Value: <br/> List of [Customer][google.cloud.channel.v1.Customer]s pertaining - * to the reseller or empty list if there are none. + *

    Return Value: List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the + * reseller or empty list if there are none. * *

    Sample code: * @@ -314,8 +314,8 @@ public final UnaryCallable listCust * parameter. * * - *

    Return Value: <br/> [Customer][google.cloud.channel.v1.Customer] resource if found, - * error otherwise. + *

    Return Value: [Customer][google.cloud.channel.v1.Customer] resource if found, error + * otherwise. * *

    Sample code: * @@ -350,8 +350,8 @@ public final Customer getCustomer(CustomerName name) { * parameter. * * - *

    Return Value: <br/> [Customer][google.cloud.channel.v1.Customer] resource if found, - * error otherwise. + *

    Return Value: [Customer][google.cloud.channel.v1.Customer] resource if found, error + * otherwise. * *

    Sample code: * @@ -385,8 +385,8 @@ public final Customer getCustomer(String name) { * parameter. * * - *

    Return Value: <br/> [Customer][google.cloud.channel.v1.Customer] resource if found, - * error otherwise. + *

    Return Value: [Customer][google.cloud.channel.v1.Customer] resource if found, error + * otherwise. * *

    Sample code: * @@ -421,8 +421,8 @@ public final Customer getCustomer(GetCustomerRequest request) { * parameter. * * - *

    Return Value: <br/> [Customer][google.cloud.channel.v1.Customer] resource if found, - * error otherwise. + *

    Return Value: [Customer][google.cloud.channel.v1.Customer] resource if found, error + * otherwise. * *

    Sample code: * @@ -455,14 +455,14 @@ public final UnaryCallable getCustomerCallable() { * being queried for are different. *

  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. *
  • INVALID_VALUE: Invalid domain value in the request. - *
  • NOT_FOUND: If there is no - * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] - * customer for the domain specified in the request. * * - *

    Return Value: <br/> List of + *

    Return Value: List of * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources - * if any exist for the domain, otherwise an error is returned. + * for the domain. List may be empty. Note: in the v1alpha1 version of the API, a NOT_FOUND error + * is returned if no + * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource + * match the domain. * *

    Sample code: * @@ -498,14 +498,14 @@ public final CheckCloudIdentityAccountsExistResponse checkCloudIdentityAccountsE * being queried for are different. *

  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. *
  • INVALID_VALUE: Invalid domain value in the request. - *
  • NOT_FOUND: If there is no - * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] - * customer for the domain specified in the request. * * - *

    Return Value: <br/> List of + *

    Return Value: List of * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources - * if any exist for the domain, otherwise an error is returned. + * for the domain. List may be empty. Note: in the v1alpha1 version of the API, a NOT_FOUND error + * is returned if no + * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource + * match the domain. * *

    Sample code: * @@ -534,14 +534,18 @@ public final CheckCloudIdentityAccountsExistResponse checkCloudIdentityAccountsE * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or * distributor account. * - *

    Possible Error Codes: <ul> <li>PERMISSION_DENIED: If the reseller account making - * the request and the reseller account being queried for are different.</li> <li> - * INVALID_ARGUMENT: <ul> <li> Missing or invalid required parameters in the request. - * </li> <li> Domain field value doesn't match the domain specified in primary - * email.</li> </ul> </li> </ul> + *

    Possible Error Codes: + * + *

    * - *

    Return Value: <br/> If successful, the newly created - * [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns an error. + *

    Return Value: If successful, the newly created [Customer][google.cloud.channel.v1.Customer] + * resource, otherwise returns an error. * *

    Sample code: * @@ -568,14 +572,18 @@ public final Customer createCustomer(CreateCustomerRequest request) { * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or * distributor account. * - *

    Possible Error Codes: <ul> <li>PERMISSION_DENIED: If the reseller account making - * the request and the reseller account being queried for are different.</li> <li> - * INVALID_ARGUMENT: <ul> <li> Missing or invalid required parameters in the request. - * </li> <li> Domain field value doesn't match the domain specified in primary - * email.</li> </ul> </li> </ul> + *

    Possible Error Codes: * - *

    Return Value: <br/> If successful, the newly created - * [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns an error. + *

    + * + *

    Return Value: If successful, the newly created [Customer][google.cloud.channel.v1.Customer] + * resource, otherwise returns an error. * *

    Sample code: * @@ -612,8 +620,8 @@ public final UnaryCallable createCustomerCallab * specified in the request. * * - *

    Return Value: <br/> If successful, the updated - * [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns an error. + *

    Return Value: If successful, the updated [Customer][google.cloud.channel.v1.Customer] + * resource, otherwise returns an error. * *

    Sample code: * @@ -650,8 +658,8 @@ public final Customer updateCustomer(UpdateCustomerRequest request) { * specified in the request. * * - *

    Return Value: <br/> If successful, the updated - * [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns an error. + *

    Return Value: If successful, the updated [Customer][google.cloud.channel.v1.Customer] + * resource, otherwise returns an error. * *

    Sample code: * @@ -821,7 +829,7 @@ public final UnaryCallable deleteCustomerCallable( * Channel support in this case. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -869,7 +877,7 @@ public final OperationFuture provisionCloudIdentity * Channel support in this case. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -917,7 +925,7 @@ public final OperationFuture provisionCloudIdentity * Channel support in this case. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -957,8 +965,8 @@ public final OperationFuture provisionCloudIdentity *

  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. * * - *

    Return Value: <br/> List of [Entitlement][google.cloud.channel.v1.Entitlement]s - * belonging to the customer, or empty list if there are none. + *

    Return Value: List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the + * customer, or empty list if there are none. * *

    Sample code: * @@ -994,8 +1002,8 @@ public final ListEntitlementsPagedResponse listEntitlements(ListEntitlementsRequ *

  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. * * - *

    Return Value: <br/> List of [Entitlement][google.cloud.channel.v1.Entitlement]s - * belonging to the customer, or empty list if there are none. + *

    Return Value: List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the + * customer, or empty list if there are none. * *

    Sample code: * @@ -1032,8 +1040,8 @@ public final ListEntitlementsPagedResponse listEntitlements(ListEntitlementsRequ *

  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. * * - *

    Return Value: <br/> List of [Entitlement][google.cloud.channel.v1.Entitlement]s - * belonging to the customer, or empty list if there are none. + *

    Return Value: List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the + * customer, or empty list if there are none. * *

    Sample code: * @@ -1068,15 +1076,17 @@ public final ListEntitlementsPagedResponse listEntitlements(ListEntitlementsRequ *

    This method is used when a reseller lists the entitlements information of a customer that is * not owned. The reseller should provide the customer's Cloud Identity ID or Customer Name. * - *

    Possible Error Codes: <ul> <li>PERMISSION_DENIED, due to one of the following - * reasons: <ul> <li> If the customer doesn't belong to the reseller and no auth - * token, or an invalid auth token is supplied. </li> <li> If the reseller account - * making the request and the reseller account being queried for are different. </li> - * </ul> </li> <li> INVALID_ARGUMENT: Missing or invalid required parameters in - * the request.</li> </ul> + *

    Possible Error Codes: + * + *

    * - *

    Return Value: <br/> List of [TransferableSku][google.cloud.channel.v1.TransferableSku] - * for the given customer. + *

    Return Value: List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the + * given customer. * *

    Sample code: * @@ -1113,15 +1123,17 @@ public final ListTransferableSkusPagedResponse listTransferableSkus( *

    This method is used when a reseller lists the entitlements information of a customer that is * not owned. The reseller should provide the customer's Cloud Identity ID or Customer Name. * - *

    Possible Error Codes: <ul> <li>PERMISSION_DENIED, due to one of the following - * reasons: <ul> <li> If the customer doesn't belong to the reseller and no auth - * token, or an invalid auth token is supplied. </li> <li> If the reseller account - * making the request and the reseller account being queried for are different. </li> - * </ul> </li> <li> INVALID_ARGUMENT: Missing or invalid required parameters in - * the request.</li> </ul> + *

    Possible Error Codes: + * + *

    * - *

    Return Value: <br/> List of [TransferableSku][google.cloud.channel.v1.TransferableSku] - * for the given customer. + *

    Return Value: List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the + * given customer. * *

    Sample code: * @@ -1157,15 +1169,17 @@ public final ListTransferableSkusPagedResponse listTransferableSkus( *

    This method is used when a reseller lists the entitlements information of a customer that is * not owned. The reseller should provide the customer's Cloud Identity ID or Customer Name. * - *

    Possible Error Codes: <ul> <li>PERMISSION_DENIED, due to one of the following - * reasons: <ul> <li> If the customer doesn't belong to the reseller and no auth - * token, or an invalid auth token is supplied. </li> <li> If the reseller account - * making the request and the reseller account being queried for are different. </li> - * </ul> </li> <li> INVALID_ARGUMENT: Missing or invalid required parameters in - * the request.</li> </ul> + *

    Possible Error Codes: * - *

    Return Value: <br/> List of [TransferableSku][google.cloud.channel.v1.TransferableSku] - * for the given customer. + *

    + * + *

    Return Value: List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the + * given customer. * *

    Sample code: * @@ -1203,8 +1217,8 @@ public final ListTransferableSkusPagedResponse listTransferableSkus( *

    Possible Error Codes: * *

    * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -1636,7 +1659,7 @@ public final OperationFuture changeParametersAsy * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -1686,7 +1709,7 @@ public final OperationFuture changeParametersAsy * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -1735,7 +1758,7 @@ public final UnaryCallable changeParametersC * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -1784,7 +1807,7 @@ public final OperationFuture changeRenewalSettin * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -1833,7 +1856,7 @@ public final OperationFuture changeRenewalSettin * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -1880,7 +1903,7 @@ public final OperationFuture changeRenewalSettin * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -1929,7 +1952,7 @@ public final OperationFuture changeOfferAsync( * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -1978,7 +2001,7 @@ public final OperationFuture changeOfferAsync( * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2027,7 +2050,7 @@ public final UnaryCallable changeOfferCallable() * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2074,7 +2097,7 @@ public final OperationFuture startPaidServiceAsy * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2121,7 +2144,7 @@ public final OperationFuture startPaidServiceAsy * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2165,7 +2188,7 @@ public final UnaryCallable startPaidServiceC * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2210,7 +2233,7 @@ public final OperationFuture suspendEntitlementA * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2255,7 +2278,7 @@ public final OperationFuture suspendEntitlementA * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2303,7 +2326,7 @@ public final UnaryCallable suspendEntitlem * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The response will contain google.protobuf.Empty on success. The @@ -2353,7 +2376,7 @@ public final OperationFuture cancelEntitlementAsync( * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The response will contain google.protobuf.Empty on success. The @@ -2403,7 +2426,7 @@ public final OperationFuture cancelEntitlementAsync( * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The response will contain google.protobuf.Empty on success. The @@ -2454,7 +2477,7 @@ public final UnaryCallable cancelEntitlemen * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2505,7 +2528,7 @@ public final OperationFuture activateEntitlement * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2556,7 +2579,7 @@ public final OperationFuture activateEntitlement * contact Cloud Channel support. * * - *

    Return Value: <br/> Long Running Operation ID. + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2586,25 +2609,27 @@ public final UnaryCallable activateEntitl /** * Transfers customer entitlements to new reseller. * - *

    Possible Error Codes: <ul> <li> PERMISSION_DENIED: If the customer doesn't - * belong to the reseller.</li> <li> INVALID_ARGUMENT: Missing or invalid required - * parameters in the request. </li> <li> NOT_FOUND: If the customer or offer resource - * is not found for the reseller. </li> <li> ALREADY_EXISTS: If the SKU has been - * already transferred for the customer. </li> <li> CONDITION_NOT_MET or - * FAILED_PRECONDITION: This failure can happen in the following cases: <ul> <li> - * Transferring a SKU that requires domain verification and the domain has not been verified. - * </li> <li> Transferring an Add-On SKU like Vault or Drive without transferring the - * pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for developer - * accounts: reseller and resold domain must follow the domain naming convention as follows: - * <ul> <li> Domain names must start with goog-test. </li> <li> Resold - * domain names must include the reseller domain. </li> </ul> </li> <li> - * All transferring entitlements must be specified. </li> </ul> </li> <li> - * INTERNAL: Any non-user error related to a technical issue in the backend. Please contact Cloud - * Channel Support in this case. </li> <li> UNKNOWN: Any non-user error related to a - * technical issue in the backend. Please contact Cloud Channel Support in this case. </li> - * </ul> - * - *

    Return Value: <br/> Long Running Operation ID. + *

    Possible Error Codes: + * + *

    + * + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2638,25 +2663,27 @@ public final UnaryCallable activateEntitl /** * Transfers customer entitlements to new reseller. * - *

    Possible Error Codes: <ul> <li> PERMISSION_DENIED: If the customer doesn't - * belong to the reseller.</li> <li> INVALID_ARGUMENT: Missing or invalid required - * parameters in the request. </li> <li> NOT_FOUND: If the customer or offer resource - * is not found for the reseller. </li> <li> ALREADY_EXISTS: If the SKU has been - * already transferred for the customer. </li> <li> CONDITION_NOT_MET or - * FAILED_PRECONDITION: This failure can happen in the following cases: <ul> <li> - * Transferring a SKU that requires domain verification and the domain has not been verified. - * </li> <li> Transferring an Add-On SKU like Vault or Drive without transferring the - * pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for developer - * accounts: reseller and resold domain must follow the domain naming convention as follows: - * <ul> <li> Domain names must start with goog-test. </li> <li> Resold - * domain names must include the reseller domain. </li> </ul> </li> <li> - * All transferring entitlements must be specified. </li> </ul> </li> <li> - * INTERNAL: Any non-user error related to a technical issue in the backend. Please contact Cloud - * Channel Support in this case. </li> <li> UNKNOWN: Any non-user error related to a - * technical issue in the backend. Please contact Cloud Channel Support in this case. </li> - * </ul> - * - *

    Return Value: <br/> Long Running Operation ID. + *

    Possible Error Codes: + * + *

    + * + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2690,25 +2717,27 @@ public final UnaryCallable activateEntitl /** * Transfers customer entitlements to new reseller. * - *

    Possible Error Codes: <ul> <li> PERMISSION_DENIED: If the customer doesn't - * belong to the reseller.</li> <li> INVALID_ARGUMENT: Missing or invalid required - * parameters in the request. </li> <li> NOT_FOUND: If the customer or offer resource - * is not found for the reseller. </li> <li> ALREADY_EXISTS: If the SKU has been - * already transferred for the customer. </li> <li> CONDITION_NOT_MET or - * FAILED_PRECONDITION: This failure can happen in the following cases: <ul> <li> - * Transferring a SKU that requires domain verification and the domain has not been verified. - * </li> <li> Transferring an Add-On SKU like Vault or Drive without transferring the - * pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for developer - * accounts: reseller and resold domain must follow the domain naming convention as follows: - * <ul> <li> Domain names must start with goog-test. </li> <li> Resold - * domain names must include the reseller domain. </li> </ul> </li> <li> - * All transferring entitlements must be specified. </li> </ul> </li> <li> - * INTERNAL: Any non-user error related to a technical issue in the backend. Please contact Cloud - * Channel Support in this case. </li> <li> UNKNOWN: Any non-user error related to a - * technical issue in the backend. Please contact Cloud Channel Support in this case. </li> - * </ul> - * - *

    Return Value: <br/> Long Running Operation ID. + *

    Possible Error Codes: + * + *

    + * + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an instance of @@ -2741,24 +2770,27 @@ public final UnaryCallable activateEntitl /** * Transfers customer entitlements from current reseller to Google. * - *

    Possible Error Codes: <ul> <li> PERMISSION_DENIED: If the customer doesn't - * belong to the reseller. </li> <li> INVALID_ARGUMENT: Missing or invalid required - * parameters in the request. </li> <li> NOT_FOUND: If the customer or offer resource - * is not found for the reseller. </li> <li> ALREADY_EXISTS: If the SKU has been - * already transferred for the customer. </li> <li> CONDITION_NOT_MET or - * FAILED_PRECONDITION: This failure can happen in the following cases: <ul> <li> - * Transferring a SKU that requires domain verification and the domain has not been verified. - * </li> <li> Transferring an Add-On SKU like Vault or Drive without purchasing the - * pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for developer - * accounts: reseller and resold domain must follow the domain naming convention as follows: - * <ul> <li> Domain names must start with goog-test. </li> <li> Resold - * domain names must include the reseller domain. </li> </ul> </li> </ul> - * </li> <li> INTERNAL: Any non-user error related to a technical issue in the - * backend. Please contact Cloud Channel Support in this case. </li> <li> UNKNOWN: Any - * non-user error related to a technical issue in the backend. Please contact Cloud Channel - * Support in this case.</li> </ul> - * - *

    Return Value: <br/> Long Running Operation ID. + *

    Possible Error Codes: + * + *

    + * + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The response will contain google.protobuf.Empty on success. The @@ -2791,24 +2823,27 @@ public final OperationFuture transferEntitlementsToGoo /** * Transfers customer entitlements from current reseller to Google. * - *

    Possible Error Codes: <ul> <li> PERMISSION_DENIED: If the customer doesn't - * belong to the reseller. </li> <li> INVALID_ARGUMENT: Missing or invalid required - * parameters in the request. </li> <li> NOT_FOUND: If the customer or offer resource - * is not found for the reseller. </li> <li> ALREADY_EXISTS: If the SKU has been - * already transferred for the customer. </li> <li> CONDITION_NOT_MET or - * FAILED_PRECONDITION: This failure can happen in the following cases: <ul> <li> - * Transferring a SKU that requires domain verification and the domain has not been verified. - * </li> <li> Transferring an Add-On SKU like Vault or Drive without purchasing the - * pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for developer - * accounts: reseller and resold domain must follow the domain naming convention as follows: - * <ul> <li> Domain names must start with goog-test. </li> <li> Resold - * domain names must include the reseller domain. </li> </ul> </li> </ul> - * </li> <li> INTERNAL: Any non-user error related to a technical issue in the - * backend. Please contact Cloud Channel Support in this case. </li> <li> UNKNOWN: Any - * non-user error related to a technical issue in the backend. Please contact Cloud Channel - * Support in this case.</li> </ul> - * - *

    Return Value: <br/> Long Running Operation ID. + *

    Possible Error Codes: + * + *

    + * + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The response will contain google.protobuf.Empty on success. The @@ -2843,24 +2878,27 @@ public final OperationFuture transferEntitlementsToGoo /** * Transfers customer entitlements from current reseller to Google. * - *

    Possible Error Codes: <ul> <li> PERMISSION_DENIED: If the customer doesn't - * belong to the reseller. </li> <li> INVALID_ARGUMENT: Missing or invalid required - * parameters in the request. </li> <li> NOT_FOUND: If the customer or offer resource - * is not found for the reseller. </li> <li> ALREADY_EXISTS: If the SKU has been - * already transferred for the customer. </li> <li> CONDITION_NOT_MET or - * FAILED_PRECONDITION: This failure can happen in the following cases: <ul> <li> - * Transferring a SKU that requires domain verification and the domain has not been verified. - * </li> <li> Transferring an Add-On SKU like Vault or Drive without purchasing the - * pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for developer - * accounts: reseller and resold domain must follow the domain naming convention as follows: - * <ul> <li> Domain names must start with goog-test. </li> <li> Resold - * domain names must include the reseller domain. </li> </ul> </li> </ul> - * </li> <li> INTERNAL: Any non-user error related to a technical issue in the - * backend. Please contact Cloud Channel Support in this case. </li> <li> UNKNOWN: Any - * non-user error related to a technical issue in the backend. Please contact Cloud Channel - * Support in this case.</li> </ul> - * - *

    Return Value: <br/> Long Running Operation ID. + *

    Possible Error Codes: + * + *

    + * + *

    Return Value: Long Running Operation ID. * *

    To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The response will contain google.protobuf.Empty on success. The @@ -2902,7 +2940,7 @@ public final OperationFuture transferEntitlementsToGoo *

  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. * * - *

    Return Value: <br/> If successful, returns the list of + *

    Return Value: If successful, returns the list of * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources for the distributor * account, otherwise returns an error. * @@ -2945,7 +2983,7 @@ public final ListChannelPartnerLinksPagedResponse listChannelPartnerLinks( *

  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. * * - *

    Return Value: <br/> If successful, returns the list of + *

    Return Value: If successful, returns the list of * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources for the distributor * account, otherwise returns an error. * @@ -2987,7 +3025,7 @@ public final ListChannelPartnerLinksPagedResponse listChannelPartnerLinks( *

  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. * * - *

    Return Value: <br/> If successful, returns the list of + *

    Return Value: If successful, returns the list of * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources for the distributor * account, otherwise returns an error. * @@ -3031,8 +3069,8 @@ public final ListChannelPartnerLinksPagedResponse listChannelPartnerLinks( * link name. * * - *

    Return Value: <br/> [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] - * resource if found, otherwise returns an error. + *

    Return Value: [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if + * found, otherwise returns an error. * *

    Sample code: * @@ -3069,8 +3107,8 @@ public final ChannelPartnerLink getChannelPartnerLink(GetChannelPartnerLinkReque * link name. * * - *

    Return Value: <br/> [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] - * resource if found, otherwise returns an error. + *

    Return Value: [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if + * found, otherwise returns an error. * *

    Sample code: * @@ -3114,9 +3152,8 @@ public final ChannelPartnerLink getChannelPartnerLink(GetChannelPartnerLinkReque * contact Cloud Channel support. * * - *

    Return Value: <br/> Newly created - * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, - * otherwise error is returned. + *

    Return Value: Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] + * resource if successful, otherwise error is returned. * *

    Sample code: * @@ -3126,7 +3163,6 @@ public final ChannelPartnerLink getChannelPartnerLink(GetChannelPartnerLinkReque * CreateChannelPartnerLinkRequest.newBuilder() * .setParent("parent-995424086") * .setChannelPartnerLink(ChannelPartnerLink.newBuilder().build()) - * .setDomain("domain-1326197564") * .build(); * ChannelPartnerLink response = cloudChannelServiceClient.createChannelPartnerLink(request); * } @@ -3161,9 +3197,8 @@ public final ChannelPartnerLink createChannelPartnerLink( * contact Cloud Channel support. * * - *

    Return Value: <br/> Newly created - * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, - * otherwise error is returned. + *

    Return Value: Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] + * resource if successful, otherwise error is returned. * *

    Sample code: * @@ -3173,7 +3208,6 @@ public final ChannelPartnerLink createChannelPartnerLink( * CreateChannelPartnerLinkRequest.newBuilder() * .setParent("parent-995424086") * .setChannelPartnerLink(ChannelPartnerLink.newBuilder().build()) - * .setDomain("domain-1326197564") * .build(); * ApiFuture future = * cloudChannelServiceClient.createChannelPartnerLinkCallable().futureCall(request); @@ -3192,18 +3226,22 @@ public final ChannelPartnerLink createChannelPartnerLink( * Updates a channel partner link. A distributor calls this method to change a link's status. For * example, suspend a partner link. To call this method, you must be a distributor. * - *

    Possible Error Codes: <ul> <li> PERMISSION_DENIED: If the reseller account - * making the request and the reseller account being queried for are different. </li> - * <li> INVALID_ARGUMENT: <ul> <li> Missing or invalid required parameters in - * the request. </li> <li> Updating link state from invited to active or suspended. - * </li> <li> Sending reseller_cloud_identity_id, invite_url or name in update mask. - * </li> </ul> </li> <li> NOT_FOUND: ChannelPartnerLink resource not - * found.</li> <li> INTERNAL: Any non-user error related to a technical issue in the - * backend. In this case, contact Cloud Channel support. </li> <li> UNKNOWN: Any - * non-user error related to a technical issue in the backend. In this case, contact Cloud Channel - * support.</li> </ul> - * - *

    Return Value: <br/> If successful, the updated + *

    Possible Error Codes: + * + *

    + * + *

    Return Value: If successful, the updated * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise returns an * error. * @@ -3234,18 +3272,22 @@ public final ChannelPartnerLink updateChannelPartnerLink( * Updates a channel partner link. A distributor calls this method to change a link's status. For * example, suspend a partner link. To call this method, you must be a distributor. * - *

    Possible Error Codes: <ul> <li> PERMISSION_DENIED: If the reseller account - * making the request and the reseller account being queried for are different. </li> - * <li> INVALID_ARGUMENT: <ul> <li> Missing or invalid required parameters in - * the request. </li> <li> Updating link state from invited to active or suspended. - * </li> <li> Sending reseller_cloud_identity_id, invite_url or name in update mask. - * </li> </ul> </li> <li> NOT_FOUND: ChannelPartnerLink resource not - * found.</li> <li> INTERNAL: Any non-user error related to a technical issue in the - * backend. In this case, contact Cloud Channel support. </li> <li> UNKNOWN: Any - * non-user error related to a technical issue in the backend. In this case, contact Cloud Channel - * support.</li> </ul> - * - *

    Return Value: <br/> If successful, the updated + *

    Possible Error Codes: + * + *

    + * + *

    Return Value: If successful, the updated * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise returns an * error. * diff --git a/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java b/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java index 6efe119c..a568daf4 100644 --- a/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java +++ b/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java @@ -1577,7 +1577,6 @@ public void createChannelPartnerLinkTest() throws Exception { CreateChannelPartnerLinkRequest.newBuilder() .setParent("parent-995424086") .setChannelPartnerLink(ChannelPartnerLink.newBuilder().build()) - .setDomain("domain-1326197564") .build(); ChannelPartnerLink actualResponse = client.createChannelPartnerLink(request); @@ -1590,7 +1589,6 @@ public void createChannelPartnerLinkTest() throws Exception { Assert.assertEquals(request.getParent(), actualRequest.getParent()); Assert.assertEquals(request.getChannelPartnerLink(), actualRequest.getChannelPartnerLink()); - Assert.assertEquals(request.getDomain(), actualRequest.getDomain()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1607,7 +1605,6 @@ public void createChannelPartnerLinkExceptionTest() throws Exception { CreateChannelPartnerLinkRequest.newBuilder() .setParent("parent-995424086") .setChannelPartnerLink(ChannelPartnerLink.newBuilder().build()) - .setDomain("domain-1326197564") .build(); client.createChannelPartnerLink(request); Assert.fail("No exception raised"); diff --git a/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java b/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java index 1dd478e7..c6c5963d 100644 --- a/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java +++ b/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java @@ -1695,7 +1695,7 @@ public abstract static class CloudChannelServiceImplBase implements io.grpc.Bind * * INVALID_ARGUMENT: Missing or invalid required parameters in the * request. * Return Value: - * <br/> List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if + * List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if * there are none. * */ @@ -1719,7 +1719,7 @@ public void listCustomers( * * NOT_FOUND: If the customer resource doesn't exist. Usually * the result of an invalid name parameter. * Return Value: - * <br/> [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise. + * [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise. * */ public void getCustomer( @@ -1740,11 +1740,11 @@ public void getCustomer( * * INVALID_ARGUMENT: Missing or invalid required parameters in the * request. * * INVALID_VALUE: Invalid domain value in the request. - * * NOT_FOUND: If there is no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] customer - * for the domain specified in the request. * Return Value: - * <br/> List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources if any exist for - * the domain, otherwise an error is returned. + * List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain. + * List may be empty. + * Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if + * no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource match the domain. * */ public void checkCloudIdentityAccountsExist( @@ -1762,19 +1762,14 @@ public void checkCloudIdentityAccountsExist( * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor * account. * Possible Error Codes: - * <ul> - * <li>PERMISSION_DENIED: If the reseller account making the request and the - * reseller account being queried for are different.</li> - * <li> INVALID_ARGUMENT: - * <ul> - * <li> Missing or invalid required parameters in the request. </li> - * <li> Domain field value doesn't match the domain specified in primary - * email.</li> - * </ul> - * </li> - * </ul> + * * PERMISSION_DENIED: If the reseller account making the request and the + * reseller account being queried for are different. + * * INVALID_ARGUMENT: It can happen in following scenarios - + * * Missing or invalid required parameters in the request. + * * Domain field value doesn't match the domain specified in primary + * email. * Return Value: - * <br/> If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise + * If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise * returns an error. * */ @@ -1798,7 +1793,7 @@ public void createCustomer( * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name * specified in the request. * Return Value: - * <br/> If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns + * If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns * an error. * */ @@ -1846,7 +1841,7 @@ public void deleteCustomer( * * UNKNOWN: Any non-user error related to a technical issue in the backend. * Contact Cloud Channel support in this case. * Return Value: - * <br/> Long Running Operation ID. + * Long Running Operation ID. * To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. @@ -1867,7 +1862,7 @@ public void provisionCloudIdentity( * * PERMISSION_DENIED: If the customer doesn't belong to the reseller. * * INVALID_ARGUMENT: Missing or invalid required parameters in the request. * Return Value: - * <br/> List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if + * List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if * there are none. * */ @@ -1888,20 +1883,14 @@ public void listEntitlements( * information of a customer that is not owned. The reseller should provide * the customer's Cloud Identity ID or Customer Name. * Possible Error Codes: - * <ul> - * <li>PERMISSION_DENIED, due to one of the following reasons: - * <ul> - * <li> If the customer doesn't belong to the reseller and no auth token, - * or an invalid auth token is supplied. </li> <li> If the reseller account - * making the request and the reseller account being queried for are - * different. </li> - * </ul> - * </li> - * <li> INVALID_ARGUMENT: Missing or invalid required parameters in the - * request.</li> - * </ul> + * * PERMISSION_DENIED: Appears because of one of the following - + * * The customer doesn't belong to the reseller and no auth token. + * * The supplied auth token is invalid. + * * The reseller account making the request and the queries reseller + * account are different. + * * INVALID_ARGUMENT: Missing or invalid required parameters in the request. * Return Value: - * <br/> List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer. + * List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer. * */ public void listTransferableSkus( @@ -1921,10 +1910,11 @@ public void listTransferableSkus( * information of a customer that is not owned. The reseller should provide * the customer's Cloud Identity ID or Customer Name. * Possible Error Codes: - * * PERMISSION_DENIED, due to one of the following reasons: (a) If the - * customer doesn't belong to the reseller and no auth token or invalid auth - * token is supplied. (b) If the reseller account making the request and the - * reseller account being queried for are different. + * * PERMISSION_DENIED: Appears because of one of the following: + * * If the customer doesn't belong to the reseller and no auth token or + * invalid auth token is supplied. + * * If the reseller account making the request and the reseller account + * being queried for are different. * * INVALID_ARGUMENT: Missing or invalid required parameters in the * request. * Return Value: @@ -1949,7 +1939,7 @@ public void listTransferableOffers( * request. * * NOT_FOUND: If the entitlement is not found for the customer. * Return Value: - * <br/> If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns + * If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns * an error. * */ @@ -1965,50 +1955,36 @@ public void getEntitlement( *

          * Creates an entitlement for a customer.
          * Possible Error Codes:
    -     * <ul>
    -     * <li> PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    -     * </li> <li> INVALID_ARGUMENT: <ul>
    -     *   <li> Missing or invalid required parameters in the request. </li>
    -     *   <li> Cannot purchase an entitlement if there is already an
    -     *    entitlement for customer, for a SKU from the same product family. </li>
    -     *   <li> INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is
    -     * valid. If it is valid, then contact Google Channel support for further
    -     * troubleshooting. </li>
    -     * </ul>
    -     * </li>
    -     * <li> NOT_FOUND: If the customer or offer resource is not found for the
    -     * reseller. </li>
    -     * <li> ALREADY_EXISTS: This failure can happen in the following cases:
    -     *   <ul>
    -     *     <li>If the SKU has been already purchased for the customer.</li>
    -     *     <li>If the customer's primary email already exists. In this case retry
    -     *         after changing the customer's primary contact email.
    -     *     </li>
    -     *   </ul>
    -     * </li>
    -     * <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This
    -     * failure can happen in the following cases:
    -     * <ul>
    -     *    <li> Purchasing a SKU that requires domain verification and the
    -     *    domain has not been verified. </li>
    -     *    <li> Purchasing an Add-On SKU like Vault or Drive without purchasing
    -     *    the pre-requisite SKU, such as Google Workspace Business Starter. </li>
    -     *    <li> Applicable only for developer accounts: reseller and resold
    -     *    domain. Must meet the following domain naming requirements:
    -     *     <ul>
    -     *       <li> Domain names must start with goog-test. </li>
    -     *       <li> Resold domain names must include the reseller domain. </li>
    -     *     </ul>
    -     *    </li>
    -     * </ul>
    -     * </li>
    -     * <li> INTERNAL: Any non-user error related to a technical issue in the
    -     * backend. Contact Cloud Channel Support in this case. </li>
    -     * <li> UNKNOWN: Any non-user error related to a technical issue in the
    -     * backend. Contact Cloud Channel Support in this case. </li>
    -     * </ul>
    +     * * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    +     * * INVALID_ARGUMENT: It can happen in below scenarios -
    +     *     * Missing or invalid required parameters in the request.
    +     *     * Cannot purchase an entitlement if there is already an entitlement for
    +     *     customer, for a SKU from the same product family.
    +     *     * INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is
    +     *     valid. If it is valid, then contact Google Channel support for further
    +     *     troubleshooting.
    +     * * NOT_FOUND: If the customer or offer resource is not found for the
    +     * reseller.
    +     * * ALREADY_EXISTS: This failure can happen in the following cases:
    +     *     * If the SKU has been already purchased for the customer.
    +     *     * If the customer's primary email already exists. In this case retry
    +     *     after changing the customer's primary contact email.
    +     * * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
    +     * following cases:
    +     *     * Purchasing a SKU that requires domain verification and the domain has
    +     *     not been verified.
    +     *     * Purchasing an Add-On SKU like Vault or Drive without purchasing the
    +     *     pre-requisite SKU, such as Google Workspace Business Starter.
    +     *     * Applicable only for developer accounts: reseller and resold domain.
    +     *     Must meet the following domain naming requirements:
    +     *         * Domain names must start with goog-test.
    +     *         * Resold domain names must include the reseller domain.
    +     * * INTERNAL: Any non-user error related to a technical issue in the
    +     * backend. Contact Cloud Channel Support in this case.
    +     * * UNKNOWN: Any non-user error related to a technical issue in the
    +     * backend. Contact Cloud Channel Support in this case.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -2039,7 +2015,7 @@ public void createEntitlement(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -2070,7 +2046,7 @@ public void changeParameters(
          * * UNKNOWN: Any non user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -2099,7 +2075,7 @@ public void changeRenewalSettings(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -2131,7 +2107,7 @@ public void changeOffer(
          * * UNKNOWN: Any non-user error related to a technical issue
          * in the backend. In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -2160,7 +2136,7 @@ public void startPaidService(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -2194,7 +2170,7 @@ public void suspendEntitlement(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The response will contain
          * google.protobuf.Empty on success. The Operation metadata will contain an
    @@ -2233,7 +2209,7 @@ public void cancelEntitlement(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -2251,35 +2227,28 @@ public void activateEntitlement(
          * 
          * Transfers customer entitlements to new reseller.
          * Possible Error Codes:
    -     * <ul>
    -     * <li> PERMISSION_DENIED: If the customer doesn't belong to the
    -     * reseller.</li> <li> INVALID_ARGUMENT: Missing or invalid required
    -     * parameters in the request. </li> <li> NOT_FOUND: If the customer or offer
    -     * resource is not found for the reseller. </li> <li> ALREADY_EXISTS: If the
    -     * SKU has been already transferred for the customer. </li> <li>
    -     * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
    -     * following cases: <ul>
    -     *    <li> Transferring a SKU that requires domain verification and the
    -     * domain has not been verified. </li>
    -     *    <li> Transferring an Add-On SKU like Vault or Drive without transferring
    -     * the pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for
    -     * developer accounts: reseller and resold domain must follow the domain
    -     * naming convention as follows:
    -     *      <ul>
    -     *         <li> Domain names must start with goog-test. </li>
    -     *         <li> Resold domain names must include the reseller domain. </li>
    -     *      </ul>
    -     *   </li>
    -     *   <li> All transferring entitlements must be specified. </li>
    -     * </ul>
    -     * </li>
    -     * <li> INTERNAL: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case. </li>
    -     * <li> UNKNOWN: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case. </li>
    -     * </ul>
    +     * * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    +     * * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
    +     * * NOT_FOUND: If the customer or offer resource is not found for the
    +     * reseller.
    +     * * ALREADY_EXISTS: If the SKU has been already transferred for the customer.
    +     * * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
    +     * following cases:
    +     *     * Transferring a SKU that requires domain verification and the domain
    +     *     has not been verified.
    +     *     * Transferring an Add-On SKU like Vault or Drive without transferring
    +     *     the pre-requisite SKU, such as G Suite Basic.
    +     *     * Applicable only for developer accounts: reseller and resold domain
    +     *     must follow the domain naming convention as follows:
    +     *         * Domain names must start with goog-test.
    +     *         * Resold domain names must include the reseller domain.
    +     *     * All transferring entitlements must be specified.
    +     * * INTERNAL: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
    +     * * UNKNOWN: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -2297,37 +2266,27 @@ public void transferEntitlements(
          * 
          * Transfers customer entitlements from current reseller to Google.
          * Possible Error Codes:
    -     * <ul>
    -     * <li> PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    -     * </li> <li> INVALID_ARGUMENT: Missing or invalid required parameters in the
    -     * request. </li>
    -     * <li> NOT_FOUND: If the customer or offer resource is not found
    -     * for the reseller. </li>
    -     * <li> ALREADY_EXISTS: If the SKU has been already
    -     * transferred for the customer. </li>
    -     * <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in
    +     * * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    +     * * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
    +     * * NOT_FOUND: If the customer or offer resource is not found for the
    +     * reseller.
    +     * * ALREADY_EXISTS: If the SKU has been already transferred for the customer.
    +     * * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in
          * the following cases:
    -     * <ul>
    -     *    <li> Transferring a SKU that requires domain verification and the
    -     * domain has not been verified. </li>
    -     *    <li> Transferring an Add-On SKU like Vault or Drive without purchasing
    -     * the pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for
    -     * developer accounts: reseller and resold domain must follow the domain
    -     * naming convention as follows:
    -     *      <ul>
    -     *         <li> Domain names must start with goog-test. </li>
    -     *         <li> Resold domain names must include the reseller domain. </li>
    -     *      </ul>
    -     *    </li>
    -     * </ul>
    -     * </li>
    -     * <li> INTERNAL: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case. </li>
    -     * <li> UNKNOWN: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case.</li>
    -     * </ul>
    +     *     * Transferring a SKU that requires domain verification and the domain
    +     *     has not been verified.
    +     *     * Transferring an Add-On SKU like Vault or Drive without purchasing the
    +     *     pre-requisite SKU, such as G Suite Basic.
    +     *     * Applicable only for developer accounts: reseller and resold domain
    +     *     must follow the domain naming convention as follows:
    +     *         * Domain names must start with goog-test.
    +     *         * Resold domain names must include the reseller domain.
    +     * * INTERNAL: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
    +     * * UNKNOWN: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The response will contain
          * google.protobuf.Empty on success. The Operation metadata will contain an
    @@ -2352,7 +2311,7 @@ public void transferEntitlementsToGoogle(
          * * INVALID_ARGUMENT: Missing or invalid required parameters in the
          * request.
          * Return Value:
    -     * <br/> If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources
    +     * If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources
          * for the distributor account, otherwise returns an error.
          * 
    */ @@ -2377,7 +2336,7 @@ public void listChannelPartnerLinks( * * NOT_FOUND: ChannelPartnerLink resource not found. Results * due invalid channel partner link name. * Return Value: - * <br/> [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error. + * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error. *
    */ public void getChannelPartnerLink( @@ -2410,7 +2369,7 @@ public void getChannelPartnerLink( * * UNKNOWN: Any non-user error related to a technical issue in * the backend. In this case, contact Cloud Channel support. * Return Value: - * <br/> Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, + * Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, * otherwise error is returned. *
    */ @@ -2429,25 +2388,20 @@ public void createChannelPartnerLink( * link's status. For example, suspend a partner link. * To call this method, you must be a distributor. * Possible Error Codes: - * <ul> - * <li> PERMISSION_DENIED: If the reseller account making the request and the - * reseller account being queried for are different. </li> - * <li> INVALID_ARGUMENT: - * <ul> - * <li> Missing or invalid required parameters in the request. </li> - * <li> Updating link state from invited to active or suspended. </li> - * <li> Sending reseller_cloud_identity_id, invite_url or name in update - * mask. </li> - * </ul> - * </li> - * <li> NOT_FOUND: ChannelPartnerLink resource not found.</li> - * <li> INTERNAL: Any non-user error related to a technical issue in the - * backend. In this case, contact Cloud Channel support. </li> - * <li> UNKNOWN: Any non-user error related to a technical issue in the - * backend. In this case, contact Cloud Channel support.</li> - * </ul> + * * PERMISSION_DENIED: If the reseller account making the request and the + * reseller account being queried for are different. + * * INVALID_ARGUMENT: It can happen in following scenarios - + * * Missing or invalid required parameters in the request. + * * Updating link state from invited to active or suspended. + * * Sending reseller_cloud_identity_id, invite_url or name in update + * mask. + * * NOT_FOUND: ChannelPartnerLink resource not found. + * * INTERNAL: Any non-user error related to a technical issue in the backend. + * In this case, contact Cloud Channel support. + * * UNKNOWN: Any non-user error related to a technical issue in the backend. + * In this case, contact Cloud Channel support. * Return Value: - * <br/> If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise + * If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise * returns an error. * */ @@ -2906,7 +2860,7 @@ protected CloudChannelServiceStub build( * * INVALID_ARGUMENT: Missing or invalid required parameters in the * request. * Return Value: - * <br/> List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if + * List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if * there are none. * */ @@ -2933,7 +2887,7 @@ public void listCustomers( * * NOT_FOUND: If the customer resource doesn't exist. Usually * the result of an invalid name parameter. * Return Value: - * <br/> [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise. + * [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise. * */ public void getCustomer( @@ -2957,11 +2911,11 @@ public void getCustomer( * * INVALID_ARGUMENT: Missing or invalid required parameters in the * request. * * INVALID_VALUE: Invalid domain value in the request. - * * NOT_FOUND: If there is no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] customer - * for the domain specified in the request. * Return Value: - * <br/> List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources if any exist for - * the domain, otherwise an error is returned. + * List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain. + * List may be empty. + * Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if + * no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource match the domain. * */ public void checkCloudIdentityAccountsExist( @@ -2982,19 +2936,14 @@ public void checkCloudIdentityAccountsExist( * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor * account. * Possible Error Codes: - * <ul> - * <li>PERMISSION_DENIED: If the reseller account making the request and the - * reseller account being queried for are different.</li> - * <li> INVALID_ARGUMENT: - * <ul> - * <li> Missing or invalid required parameters in the request. </li> - * <li> Domain field value doesn't match the domain specified in primary - * email.</li> - * </ul> - * </li> - * </ul> + * * PERMISSION_DENIED: If the reseller account making the request and the + * reseller account being queried for are different. + * * INVALID_ARGUMENT: It can happen in following scenarios - + * * Missing or invalid required parameters in the request. + * * Domain field value doesn't match the domain specified in primary + * email. * Return Value: - * <br/> If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise + * If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise * returns an error. * */ @@ -3021,7 +2970,7 @@ public void createCustomer( * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name * specified in the request. * Return Value: - * <br/> If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns + * If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns * an error. * */ @@ -3075,7 +3024,7 @@ public void deleteCustomer( * * UNKNOWN: Any non-user error related to a technical issue in the backend. * Contact Cloud Channel support in this case. * Return Value: - * <br/> Long Running Operation ID. + * Long Running Operation ID. * To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. @@ -3099,7 +3048,7 @@ public void provisionCloudIdentity( * * PERMISSION_DENIED: If the customer doesn't belong to the reseller. * * INVALID_ARGUMENT: Missing or invalid required parameters in the request. * Return Value: - * <br/> List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if + * List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if * there are none. * */ @@ -3123,20 +3072,14 @@ public void listEntitlements( * information of a customer that is not owned. The reseller should provide * the customer's Cloud Identity ID or Customer Name. * Possible Error Codes: - * <ul> - * <li>PERMISSION_DENIED, due to one of the following reasons: - * <ul> - * <li> If the customer doesn't belong to the reseller and no auth token, - * or an invalid auth token is supplied. </li> <li> If the reseller account - * making the request and the reseller account being queried for are - * different. </li> - * </ul> - * </li> - * <li> INVALID_ARGUMENT: Missing or invalid required parameters in the - * request.</li> - * </ul> + * * PERMISSION_DENIED: Appears because of one of the following - + * * The customer doesn't belong to the reseller and no auth token. + * * The supplied auth token is invalid. + * * The reseller account making the request and the queries reseller + * account are different. + * * INVALID_ARGUMENT: Missing or invalid required parameters in the request. * Return Value: - * <br/> List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer. + * List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer. * */ public void listTransferableSkus( @@ -3159,10 +3102,11 @@ public void listTransferableSkus( * information of a customer that is not owned. The reseller should provide * the customer's Cloud Identity ID or Customer Name. * Possible Error Codes: - * * PERMISSION_DENIED, due to one of the following reasons: (a) If the - * customer doesn't belong to the reseller and no auth token or invalid auth - * token is supplied. (b) If the reseller account making the request and the - * reseller account being queried for are different. + * * PERMISSION_DENIED: Appears because of one of the following: + * * If the customer doesn't belong to the reseller and no auth token or + * invalid auth token is supplied. + * * If the reseller account making the request and the reseller account + * being queried for are different. * * INVALID_ARGUMENT: Missing or invalid required parameters in the * request. * Return Value: @@ -3190,7 +3134,7 @@ public void listTransferableOffers( * request. * * NOT_FOUND: If the entitlement is not found for the customer. * Return Value: - * <br/> If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns + * If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns * an error. * */ @@ -3209,50 +3153,36 @@ public void getEntitlement( *
          * Creates an entitlement for a customer.
          * Possible Error Codes:
    -     * <ul>
    -     * <li> PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    -     * </li> <li> INVALID_ARGUMENT: <ul>
    -     *   <li> Missing or invalid required parameters in the request. </li>
    -     *   <li> Cannot purchase an entitlement if there is already an
    -     *    entitlement for customer, for a SKU from the same product family. </li>
    -     *   <li> INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is
    -     * valid. If it is valid, then contact Google Channel support for further
    -     * troubleshooting. </li>
    -     * </ul>
    -     * </li>
    -     * <li> NOT_FOUND: If the customer or offer resource is not found for the
    -     * reseller. </li>
    -     * <li> ALREADY_EXISTS: This failure can happen in the following cases:
    -     *   <ul>
    -     *     <li>If the SKU has been already purchased for the customer.</li>
    -     *     <li>If the customer's primary email already exists. In this case retry
    -     *         after changing the customer's primary contact email.
    -     *     </li>
    -     *   </ul>
    -     * </li>
    -     * <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This
    -     * failure can happen in the following cases:
    -     * <ul>
    -     *    <li> Purchasing a SKU that requires domain verification and the
    -     *    domain has not been verified. </li>
    -     *    <li> Purchasing an Add-On SKU like Vault or Drive without purchasing
    -     *    the pre-requisite SKU, such as Google Workspace Business Starter. </li>
    -     *    <li> Applicable only for developer accounts: reseller and resold
    -     *    domain. Must meet the following domain naming requirements:
    -     *     <ul>
    -     *       <li> Domain names must start with goog-test. </li>
    -     *       <li> Resold domain names must include the reseller domain. </li>
    -     *     </ul>
    -     *    </li>
    -     * </ul>
    -     * </li>
    -     * <li> INTERNAL: Any non-user error related to a technical issue in the
    -     * backend. Contact Cloud Channel Support in this case. </li>
    -     * <li> UNKNOWN: Any non-user error related to a technical issue in the
    -     * backend. Contact Cloud Channel Support in this case. </li>
    -     * </ul>
    +     * * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    +     * * INVALID_ARGUMENT: It can happen in below scenarios -
    +     *     * Missing or invalid required parameters in the request.
    +     *     * Cannot purchase an entitlement if there is already an entitlement for
    +     *     customer, for a SKU from the same product family.
    +     *     * INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is
    +     *     valid. If it is valid, then contact Google Channel support for further
    +     *     troubleshooting.
    +     * * NOT_FOUND: If the customer or offer resource is not found for the
    +     * reseller.
    +     * * ALREADY_EXISTS: This failure can happen in the following cases:
    +     *     * If the SKU has been already purchased for the customer.
    +     *     * If the customer's primary email already exists. In this case retry
    +     *     after changing the customer's primary contact email.
    +     * * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
    +     * following cases:
    +     *     * Purchasing a SKU that requires domain verification and the domain has
    +     *     not been verified.
    +     *     * Purchasing an Add-On SKU like Vault or Drive without purchasing the
    +     *     pre-requisite SKU, such as Google Workspace Business Starter.
    +     *     * Applicable only for developer accounts: reseller and resold domain.
    +     *     Must meet the following domain naming requirements:
    +     *         * Domain names must start with goog-test.
    +     *         * Resold domain names must include the reseller domain.
    +     * * INTERNAL: Any non-user error related to a technical issue in the
    +     * backend. Contact Cloud Channel Support in this case.
    +     * * UNKNOWN: Any non-user error related to a technical issue in the
    +     * backend. Contact Cloud Channel Support in this case.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -3286,7 +3216,7 @@ public void createEntitlement(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -3320,7 +3250,7 @@ public void changeParameters(
          * * UNKNOWN: Any non user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -3352,7 +3282,7 @@ public void changeRenewalSettings(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -3387,7 +3317,7 @@ public void changeOffer(
          * * UNKNOWN: Any non-user error related to a technical issue
          * in the backend. In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -3419,7 +3349,7 @@ public void startPaidService(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -3456,7 +3386,7 @@ public void suspendEntitlement(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The response will contain
          * google.protobuf.Empty on success. The Operation metadata will contain an
    @@ -3498,7 +3428,7 @@ public void cancelEntitlement(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -3519,35 +3449,28 @@ public void activateEntitlement(
          * 
          * Transfers customer entitlements to new reseller.
          * Possible Error Codes:
    -     * <ul>
    -     * <li> PERMISSION_DENIED: If the customer doesn't belong to the
    -     * reseller.</li> <li> INVALID_ARGUMENT: Missing or invalid required
    -     * parameters in the request. </li> <li> NOT_FOUND: If the customer or offer
    -     * resource is not found for the reseller. </li> <li> ALREADY_EXISTS: If the
    -     * SKU has been already transferred for the customer. </li> <li>
    -     * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
    -     * following cases: <ul>
    -     *    <li> Transferring a SKU that requires domain verification and the
    -     * domain has not been verified. </li>
    -     *    <li> Transferring an Add-On SKU like Vault or Drive without transferring
    -     * the pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for
    -     * developer accounts: reseller and resold domain must follow the domain
    -     * naming convention as follows:
    -     *      <ul>
    -     *         <li> Domain names must start with goog-test. </li>
    -     *         <li> Resold domain names must include the reseller domain. </li>
    -     *      </ul>
    -     *   </li>
    -     *   <li> All transferring entitlements must be specified. </li>
    -     * </ul>
    -     * </li>
    -     * <li> INTERNAL: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case. </li>
    -     * <li> UNKNOWN: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case. </li>
    -     * </ul>
    +     * * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    +     * * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
    +     * * NOT_FOUND: If the customer or offer resource is not found for the
    +     * reseller.
    +     * * ALREADY_EXISTS: If the SKU has been already transferred for the customer.
    +     * * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
    +     * following cases:
    +     *     * Transferring a SKU that requires domain verification and the domain
    +     *     has not been verified.
    +     *     * Transferring an Add-On SKU like Vault or Drive without transferring
    +     *     the pre-requisite SKU, such as G Suite Basic.
    +     *     * Applicable only for developer accounts: reseller and resold domain
    +     *     must follow the domain naming convention as follows:
    +     *         * Domain names must start with goog-test.
    +     *         * Resold domain names must include the reseller domain.
    +     *     * All transferring entitlements must be specified.
    +     * * INTERNAL: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
    +     * * UNKNOWN: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -3568,37 +3491,27 @@ public void transferEntitlements(
          * 
          * Transfers customer entitlements from current reseller to Google.
          * Possible Error Codes:
    -     * <ul>
    -     * <li> PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    -     * </li> <li> INVALID_ARGUMENT: Missing or invalid required parameters in the
    -     * request. </li>
    -     * <li> NOT_FOUND: If the customer or offer resource is not found
    -     * for the reseller. </li>
    -     * <li> ALREADY_EXISTS: If the SKU has been already
    -     * transferred for the customer. </li>
    -     * <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in
    +     * * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    +     * * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
    +     * * NOT_FOUND: If the customer or offer resource is not found for the
    +     * reseller.
    +     * * ALREADY_EXISTS: If the SKU has been already transferred for the customer.
    +     * * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in
          * the following cases:
    -     * <ul>
    -     *    <li> Transferring a SKU that requires domain verification and the
    -     * domain has not been verified. </li>
    -     *    <li> Transferring an Add-On SKU like Vault or Drive without purchasing
    -     * the pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for
    -     * developer accounts: reseller and resold domain must follow the domain
    -     * naming convention as follows:
    -     *      <ul>
    -     *         <li> Domain names must start with goog-test. </li>
    -     *         <li> Resold domain names must include the reseller domain. </li>
    -     *      </ul>
    -     *    </li>
    -     * </ul>
    -     * </li>
    -     * <li> INTERNAL: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case. </li>
    -     * <li> UNKNOWN: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case.</li>
    -     * </ul>
    +     *     * Transferring a SKU that requires domain verification and the domain
    +     *     has not been verified.
    +     *     * Transferring an Add-On SKU like Vault or Drive without purchasing the
    +     *     pre-requisite SKU, such as G Suite Basic.
    +     *     * Applicable only for developer accounts: reseller and resold domain
    +     *     must follow the domain naming convention as follows:
    +     *         * Domain names must start with goog-test.
    +     *         * Resold domain names must include the reseller domain.
    +     * * INTERNAL: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
    +     * * UNKNOWN: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The response will contain
          * google.protobuf.Empty on success. The Operation metadata will contain an
    @@ -3626,7 +3539,7 @@ public void transferEntitlementsToGoogle(
          * * INVALID_ARGUMENT: Missing or invalid required parameters in the
          * request.
          * Return Value:
    -     * <br/> If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources
    +     * If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources
          * for the distributor account, otherwise returns an error.
          * 
    */ @@ -3654,7 +3567,7 @@ public void listChannelPartnerLinks( * * NOT_FOUND: ChannelPartnerLink resource not found. Results * due invalid channel partner link name. * Return Value: - * <br/> [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error. + * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error. *
    */ public void getChannelPartnerLink( @@ -3690,7 +3603,7 @@ public void getChannelPartnerLink( * * UNKNOWN: Any non-user error related to a technical issue in * the backend. In this case, contact Cloud Channel support. * Return Value: - * <br/> Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, + * Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, * otherwise error is returned. *
    */ @@ -3712,25 +3625,20 @@ public void createChannelPartnerLink( * link's status. For example, suspend a partner link. * To call this method, you must be a distributor. * Possible Error Codes: - * <ul> - * <li> PERMISSION_DENIED: If the reseller account making the request and the - * reseller account being queried for are different. </li> - * <li> INVALID_ARGUMENT: - * <ul> - * <li> Missing or invalid required parameters in the request. </li> - * <li> Updating link state from invited to active or suspended. </li> - * <li> Sending reseller_cloud_identity_id, invite_url or name in update - * mask. </li> - * </ul> - * </li> - * <li> NOT_FOUND: ChannelPartnerLink resource not found.</li> - * <li> INTERNAL: Any non-user error related to a technical issue in the - * backend. In this case, contact Cloud Channel support. </li> - * <li> UNKNOWN: Any non-user error related to a technical issue in the - * backend. In this case, contact Cloud Channel support.</li> - * </ul> + * * PERMISSION_DENIED: If the reseller account making the request and the + * reseller account being queried for are different. + * * INVALID_ARGUMENT: It can happen in following scenarios - + * * Missing or invalid required parameters in the request. + * * Updating link state from invited to active or suspended. + * * Sending reseller_cloud_identity_id, invite_url or name in update + * mask. + * * NOT_FOUND: ChannelPartnerLink resource not found. + * * INTERNAL: Any non-user error related to a technical issue in the backend. + * In this case, contact Cloud Channel support. + * * UNKNOWN: Any non-user error related to a technical issue in the backend. + * In this case, contact Cloud Channel support. * Return Value: - * <br/> If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise + * If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise * returns an error. * */ @@ -3993,7 +3901,7 @@ protected CloudChannelServiceBlockingStub build( * * INVALID_ARGUMENT: Missing or invalid required parameters in the * request. * Return Value: - * <br/> List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if + * List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if * there are none. * */ @@ -4015,7 +3923,7 @@ public com.google.cloud.channel.v1.ListCustomersResponse listCustomers( * * NOT_FOUND: If the customer resource doesn't exist. Usually * the result of an invalid name parameter. * Return Value: - * <br/> [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise. + * [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise. * */ public com.google.cloud.channel.v1.Customer getCustomer( @@ -4035,11 +3943,11 @@ public com.google.cloud.channel.v1.Customer getCustomer( * * INVALID_ARGUMENT: Missing or invalid required parameters in the * request. * * INVALID_VALUE: Invalid domain value in the request. - * * NOT_FOUND: If there is no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] customer - * for the domain specified in the request. * Return Value: - * <br/> List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources if any exist for - * the domain, otherwise an error is returned. + * List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain. + * List may be empty. + * Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if + * no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource match the domain. * */ public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse @@ -4056,19 +3964,14 @@ public com.google.cloud.channel.v1.Customer getCustomer( * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor * account. * Possible Error Codes: - * <ul> - * <li>PERMISSION_DENIED: If the reseller account making the request and the - * reseller account being queried for are different.</li> - * <li> INVALID_ARGUMENT: - * <ul> - * <li> Missing or invalid required parameters in the request. </li> - * <li> Domain field value doesn't match the domain specified in primary - * email.</li> - * </ul> - * </li> - * </ul> + * * PERMISSION_DENIED: If the reseller account making the request and the + * reseller account being queried for are different. + * * INVALID_ARGUMENT: It can happen in following scenarios - + * * Missing or invalid required parameters in the request. + * * Domain field value doesn't match the domain specified in primary + * email. * Return Value: - * <br/> If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise + * If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise * returns an error. * */ @@ -4091,7 +3994,7 @@ public com.google.cloud.channel.v1.Customer createCustomer( * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name * specified in the request. * Return Value: - * <br/> If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns + * If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns * an error. * */ @@ -4137,7 +4040,7 @@ public com.google.protobuf.Empty deleteCustomer( * * UNKNOWN: Any non-user error related to a technical issue in the backend. * Contact Cloud Channel support in this case. * Return Value: - * <br/> Long Running Operation ID. + * Long Running Operation ID. * To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. @@ -4158,7 +4061,7 @@ public com.google.longrunning.Operation provisionCloudIdentity( * * PERMISSION_DENIED: If the customer doesn't belong to the reseller. * * INVALID_ARGUMENT: Missing or invalid required parameters in the request. * Return Value: - * <br/> List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if + * List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if * there are none. * */ @@ -4178,20 +4081,14 @@ public com.google.cloud.channel.v1.ListEntitlementsResponse listEntitlements( * information of a customer that is not owned. The reseller should provide * the customer's Cloud Identity ID or Customer Name. * Possible Error Codes: - * <ul> - * <li>PERMISSION_DENIED, due to one of the following reasons: - * <ul> - * <li> If the customer doesn't belong to the reseller and no auth token, - * or an invalid auth token is supplied. </li> <li> If the reseller account - * making the request and the reseller account being queried for are - * different. </li> - * </ul> - * </li> - * <li> INVALID_ARGUMENT: Missing or invalid required parameters in the - * request.</li> - * </ul> + * * PERMISSION_DENIED: Appears because of one of the following - + * * The customer doesn't belong to the reseller and no auth token. + * * The supplied auth token is invalid. + * * The reseller account making the request and the queries reseller + * account are different. + * * INVALID_ARGUMENT: Missing or invalid required parameters in the request. * Return Value: - * <br/> List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer. + * List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer. * */ public com.google.cloud.channel.v1.ListTransferableSkusResponse listTransferableSkus( @@ -4210,10 +4107,11 @@ public com.google.cloud.channel.v1.ListTransferableSkusResponse listTransferable * information of a customer that is not owned. The reseller should provide * the customer's Cloud Identity ID or Customer Name. * Possible Error Codes: - * * PERMISSION_DENIED, due to one of the following reasons: (a) If the - * customer doesn't belong to the reseller and no auth token or invalid auth - * token is supplied. (b) If the reseller account making the request and the - * reseller account being queried for are different. + * * PERMISSION_DENIED: Appears because of one of the following: + * * If the customer doesn't belong to the reseller and no auth token or + * invalid auth token is supplied. + * * If the reseller account making the request and the reseller account + * being queried for are different. * * INVALID_ARGUMENT: Missing or invalid required parameters in the * request. * Return Value: @@ -4237,7 +4135,7 @@ public com.google.cloud.channel.v1.ListTransferableOffersResponse listTransferab * request. * * NOT_FOUND: If the entitlement is not found for the customer. * Return Value: - * <br/> If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns + * If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns * an error. * */ @@ -4252,50 +4150,36 @@ public com.google.cloud.channel.v1.Entitlement getEntitlement( *
          * Creates an entitlement for a customer.
          * Possible Error Codes:
    -     * <ul>
    -     * <li> PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    -     * </li> <li> INVALID_ARGUMENT: <ul>
    -     *   <li> Missing or invalid required parameters in the request. </li>
    -     *   <li> Cannot purchase an entitlement if there is already an
    -     *    entitlement for customer, for a SKU from the same product family. </li>
    -     *   <li> INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is
    -     * valid. If it is valid, then contact Google Channel support for further
    -     * troubleshooting. </li>
    -     * </ul>
    -     * </li>
    -     * <li> NOT_FOUND: If the customer or offer resource is not found for the
    -     * reseller. </li>
    -     * <li> ALREADY_EXISTS: This failure can happen in the following cases:
    -     *   <ul>
    -     *     <li>If the SKU has been already purchased for the customer.</li>
    -     *     <li>If the customer's primary email already exists. In this case retry
    -     *         after changing the customer's primary contact email.
    -     *     </li>
    -     *   </ul>
    -     * </li>
    -     * <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This
    -     * failure can happen in the following cases:
    -     * <ul>
    -     *    <li> Purchasing a SKU that requires domain verification and the
    -     *    domain has not been verified. </li>
    -     *    <li> Purchasing an Add-On SKU like Vault or Drive without purchasing
    -     *    the pre-requisite SKU, such as Google Workspace Business Starter. </li>
    -     *    <li> Applicable only for developer accounts: reseller and resold
    -     *    domain. Must meet the following domain naming requirements:
    -     *     <ul>
    -     *       <li> Domain names must start with goog-test. </li>
    -     *       <li> Resold domain names must include the reseller domain. </li>
    -     *     </ul>
    -     *    </li>
    -     * </ul>
    -     * </li>
    -     * <li> INTERNAL: Any non-user error related to a technical issue in the
    -     * backend. Contact Cloud Channel Support in this case. </li>
    -     * <li> UNKNOWN: Any non-user error related to a technical issue in the
    -     * backend. Contact Cloud Channel Support in this case. </li>
    -     * </ul>
    +     * * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    +     * * INVALID_ARGUMENT: It can happen in below scenarios -
    +     *     * Missing or invalid required parameters in the request.
    +     *     * Cannot purchase an entitlement if there is already an entitlement for
    +     *     customer, for a SKU from the same product family.
    +     *     * INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is
    +     *     valid. If it is valid, then contact Google Channel support for further
    +     *     troubleshooting.
    +     * * NOT_FOUND: If the customer or offer resource is not found for the
    +     * reseller.
    +     * * ALREADY_EXISTS: This failure can happen in the following cases:
    +     *     * If the SKU has been already purchased for the customer.
    +     *     * If the customer's primary email already exists. In this case retry
    +     *     after changing the customer's primary contact email.
    +     * * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
    +     * following cases:
    +     *     * Purchasing a SKU that requires domain verification and the domain has
    +     *     not been verified.
    +     *     * Purchasing an Add-On SKU like Vault or Drive without purchasing the
    +     *     pre-requisite SKU, such as Google Workspace Business Starter.
    +     *     * Applicable only for developer accounts: reseller and resold domain.
    +     *     Must meet the following domain naming requirements:
    +     *         * Domain names must start with goog-test.
    +     *         * Resold domain names must include the reseller domain.
    +     * * INTERNAL: Any non-user error related to a technical issue in the
    +     * backend. Contact Cloud Channel Support in this case.
    +     * * UNKNOWN: Any non-user error related to a technical issue in the
    +     * backend. Contact Cloud Channel Support in this case.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -4326,7 +4210,7 @@ public com.google.longrunning.Operation createEntitlement(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -4357,7 +4241,7 @@ public com.google.longrunning.Operation changeParameters(
          * * UNKNOWN: Any non user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -4386,7 +4270,7 @@ public com.google.longrunning.Operation changeRenewalSettings(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -4417,7 +4301,7 @@ public com.google.longrunning.Operation changeOffer(
          * * UNKNOWN: Any non-user error related to a technical issue
          * in the backend. In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -4446,7 +4330,7 @@ public com.google.longrunning.Operation startPaidService(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -4480,7 +4364,7 @@ public com.google.longrunning.Operation suspendEntitlement(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The response will contain
          * google.protobuf.Empty on success. The Operation metadata will contain an
    @@ -4519,7 +4403,7 @@ public com.google.longrunning.Operation cancelEntitlement(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -4537,35 +4421,28 @@ public com.google.longrunning.Operation activateEntitlement(
          * 
          * Transfers customer entitlements to new reseller.
          * Possible Error Codes:
    -     * <ul>
    -     * <li> PERMISSION_DENIED: If the customer doesn't belong to the
    -     * reseller.</li> <li> INVALID_ARGUMENT: Missing or invalid required
    -     * parameters in the request. </li> <li> NOT_FOUND: If the customer or offer
    -     * resource is not found for the reseller. </li> <li> ALREADY_EXISTS: If the
    -     * SKU has been already transferred for the customer. </li> <li>
    -     * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
    -     * following cases: <ul>
    -     *    <li> Transferring a SKU that requires domain verification and the
    -     * domain has not been verified. </li>
    -     *    <li> Transferring an Add-On SKU like Vault or Drive without transferring
    -     * the pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for
    -     * developer accounts: reseller and resold domain must follow the domain
    -     * naming convention as follows:
    -     *      <ul>
    -     *         <li> Domain names must start with goog-test. </li>
    -     *         <li> Resold domain names must include the reseller domain. </li>
    -     *      </ul>
    -     *   </li>
    -     *   <li> All transferring entitlements must be specified. </li>
    -     * </ul>
    -     * </li>
    -     * <li> INTERNAL: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case. </li>
    -     * <li> UNKNOWN: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case. </li>
    -     * </ul>
    +     * * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    +     * * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
    +     * * NOT_FOUND: If the customer or offer resource is not found for the
    +     * reseller.
    +     * * ALREADY_EXISTS: If the SKU has been already transferred for the customer.
    +     * * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
    +     * following cases:
    +     *     * Transferring a SKU that requires domain verification and the domain
    +     *     has not been verified.
    +     *     * Transferring an Add-On SKU like Vault or Drive without transferring
    +     *     the pre-requisite SKU, such as G Suite Basic.
    +     *     * Applicable only for developer accounts: reseller and resold domain
    +     *     must follow the domain naming convention as follows:
    +     *         * Domain names must start with goog-test.
    +     *         * Resold domain names must include the reseller domain.
    +     *     * All transferring entitlements must be specified.
    +     * * INTERNAL: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
    +     * * UNKNOWN: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -4583,37 +4460,27 @@ public com.google.longrunning.Operation transferEntitlements(
          * 
          * Transfers customer entitlements from current reseller to Google.
          * Possible Error Codes:
    -     * <ul>
    -     * <li> PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    -     * </li> <li> INVALID_ARGUMENT: Missing or invalid required parameters in the
    -     * request. </li>
    -     * <li> NOT_FOUND: If the customer or offer resource is not found
    -     * for the reseller. </li>
    -     * <li> ALREADY_EXISTS: If the SKU has been already
    -     * transferred for the customer. </li>
    -     * <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in
    +     * * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    +     * * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
    +     * * NOT_FOUND: If the customer or offer resource is not found for the
    +     * reseller.
    +     * * ALREADY_EXISTS: If the SKU has been already transferred for the customer.
    +     * * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in
          * the following cases:
    -     * <ul>
    -     *    <li> Transferring a SKU that requires domain verification and the
    -     * domain has not been verified. </li>
    -     *    <li> Transferring an Add-On SKU like Vault or Drive without purchasing
    -     * the pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for
    -     * developer accounts: reseller and resold domain must follow the domain
    -     * naming convention as follows:
    -     *      <ul>
    -     *         <li> Domain names must start with goog-test. </li>
    -     *         <li> Resold domain names must include the reseller domain. </li>
    -     *      </ul>
    -     *    </li>
    -     * </ul>
    -     * </li>
    -     * <li> INTERNAL: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case. </li>
    -     * <li> UNKNOWN: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case.</li>
    -     * </ul>
    +     *     * Transferring a SKU that requires domain verification and the domain
    +     *     has not been verified.
    +     *     * Transferring an Add-On SKU like Vault or Drive without purchasing the
    +     *     pre-requisite SKU, such as G Suite Basic.
    +     *     * Applicable only for developer accounts: reseller and resold domain
    +     *     must follow the domain naming convention as follows:
    +     *         * Domain names must start with goog-test.
    +     *         * Resold domain names must include the reseller domain.
    +     * * INTERNAL: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
    +     * * UNKNOWN: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The response will contain
          * google.protobuf.Empty on success. The Operation metadata will contain an
    @@ -4638,7 +4505,7 @@ public com.google.longrunning.Operation transferEntitlementsToGoogle(
          * * INVALID_ARGUMENT: Missing or invalid required parameters in the
          * request.
          * Return Value:
    -     * <br/> If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources
    +     * If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources
          * for the distributor account, otherwise returns an error.
          * 
    */ @@ -4662,7 +4529,7 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse listChannelPa * * NOT_FOUND: ChannelPartnerLink resource not found. Results * due invalid channel partner link name. * Return Value: - * <br/> [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error. + * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error. *
    */ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink( @@ -4694,7 +4561,7 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink( * * UNKNOWN: Any non-user error related to a technical issue in * the backend. In this case, contact Cloud Channel support. * Return Value: - * <br/> Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, + * Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, * otherwise error is returned. *
    */ @@ -4712,25 +4579,20 @@ public com.google.cloud.channel.v1.ChannelPartnerLink createChannelPartnerLink( * link's status. For example, suspend a partner link. * To call this method, you must be a distributor. * Possible Error Codes: - * <ul> - * <li> PERMISSION_DENIED: If the reseller account making the request and the - * reseller account being queried for are different. </li> - * <li> INVALID_ARGUMENT: - * <ul> - * <li> Missing or invalid required parameters in the request. </li> - * <li> Updating link state from invited to active or suspended. </li> - * <li> Sending reseller_cloud_identity_id, invite_url or name in update - * mask. </li> - * </ul> - * </li> - * <li> NOT_FOUND: ChannelPartnerLink resource not found.</li> - * <li> INTERNAL: Any non-user error related to a technical issue in the - * backend. In this case, contact Cloud Channel support. </li> - * <li> UNKNOWN: Any non-user error related to a technical issue in the - * backend. In this case, contact Cloud Channel support.</li> - * </ul> + * * PERMISSION_DENIED: If the reseller account making the request and the + * reseller account being queried for are different. + * * INVALID_ARGUMENT: It can happen in following scenarios - + * * Missing or invalid required parameters in the request. + * * Updating link state from invited to active or suspended. + * * Sending reseller_cloud_identity_id, invite_url or name in update + * mask. + * * NOT_FOUND: ChannelPartnerLink resource not found. + * * INTERNAL: Any non-user error related to a technical issue in the backend. + * In this case, contact Cloud Channel support. + * * UNKNOWN: Any non-user error related to a technical issue in the backend. + * In this case, contact Cloud Channel support. * Return Value: - * <br/> If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise + * If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise * returns an error. * */ @@ -4957,7 +4819,7 @@ protected CloudChannelServiceFutureStub build( * * INVALID_ARGUMENT: Missing or invalid required parameters in the * request. * Return Value: - * <br/> List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if + * List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if * there are none. * */ @@ -4981,7 +4843,7 @@ protected CloudChannelServiceFutureStub build( * * NOT_FOUND: If the customer resource doesn't exist. Usually * the result of an invalid name parameter. * Return Value: - * <br/> [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise. + * [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise. * */ public com.google.common.util.concurrent.ListenableFuture @@ -5002,11 +4864,11 @@ protected CloudChannelServiceFutureStub build( * * INVALID_ARGUMENT: Missing or invalid required parameters in the * request. * * INVALID_VALUE: Invalid domain value in the request. - * * NOT_FOUND: If there is no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] customer - * for the domain specified in the request. * Return Value: - * <br/> List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources if any exist for - * the domain, otherwise an error is returned. + * List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain. + * List may be empty. + * Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if + * no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource match the domain. * */ public com.google.common.util.concurrent.ListenableFuture< @@ -5025,19 +4887,14 @@ protected CloudChannelServiceFutureStub build( * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor * account. * Possible Error Codes: - * <ul> - * <li>PERMISSION_DENIED: If the reseller account making the request and the - * reseller account being queried for are different.</li> - * <li> INVALID_ARGUMENT: - * <ul> - * <li> Missing or invalid required parameters in the request. </li> - * <li> Domain field value doesn't match the domain specified in primary - * email.</li> - * </ul> - * </li> - * </ul> + * * PERMISSION_DENIED: If the reseller account making the request and the + * reseller account being queried for are different. + * * INVALID_ARGUMENT: It can happen in following scenarios - + * * Missing or invalid required parameters in the request. + * * Domain field value doesn't match the domain specified in primary + * email. * Return Value: - * <br/> If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise + * If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise * returns an error. * */ @@ -5061,7 +4918,7 @@ protected CloudChannelServiceFutureStub build( * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name * specified in the request. * Return Value: - * <br/> If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns + * If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns * an error. * */ @@ -5109,7 +4966,7 @@ protected CloudChannelServiceFutureStub build( * * UNKNOWN: Any non-user error related to a technical issue in the backend. * Contact Cloud Channel support in this case. * Return Value: - * <br/> Long Running Operation ID. + * Long Running Operation ID. * To get the results of the operation, call the GetOperation method of * CloudChannelOperationsService. The Operation metadata will contain an * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. @@ -5130,7 +4987,7 @@ protected CloudChannelServiceFutureStub build( * * PERMISSION_DENIED: If the customer doesn't belong to the reseller. * * INVALID_ARGUMENT: Missing or invalid required parameters in the request. * Return Value: - * <br/> List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if + * List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if * there are none. * */ @@ -5151,20 +5008,14 @@ protected CloudChannelServiceFutureStub build( * information of a customer that is not owned. The reseller should provide * the customer's Cloud Identity ID or Customer Name. * Possible Error Codes: - * <ul> - * <li>PERMISSION_DENIED, due to one of the following reasons: - * <ul> - * <li> If the customer doesn't belong to the reseller and no auth token, - * or an invalid auth token is supplied. </li> <li> If the reseller account - * making the request and the reseller account being queried for are - * different. </li> - * </ul> - * </li> - * <li> INVALID_ARGUMENT: Missing or invalid required parameters in the - * request.</li> - * </ul> + * * PERMISSION_DENIED: Appears because of one of the following - + * * The customer doesn't belong to the reseller and no auth token. + * * The supplied auth token is invalid. + * * The reseller account making the request and the queries reseller + * account are different. + * * INVALID_ARGUMENT: Missing or invalid required parameters in the request. * Return Value: - * <br/> List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer. + * List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer. * */ public com.google.common.util.concurrent.ListenableFuture< @@ -5184,10 +5035,11 @@ protected CloudChannelServiceFutureStub build( * information of a customer that is not owned. The reseller should provide * the customer's Cloud Identity ID or Customer Name. * Possible Error Codes: - * * PERMISSION_DENIED, due to one of the following reasons: (a) If the - * customer doesn't belong to the reseller and no auth token or invalid auth - * token is supplied. (b) If the reseller account making the request and the - * reseller account being queried for are different. + * * PERMISSION_DENIED: Appears because of one of the following: + * * If the customer doesn't belong to the reseller and no auth token or + * invalid auth token is supplied. + * * If the reseller account making the request and the reseller account + * being queried for are different. * * INVALID_ARGUMENT: Missing or invalid required parameters in the * request. * Return Value: @@ -5212,7 +5064,7 @@ protected CloudChannelServiceFutureStub build( * request. * * NOT_FOUND: If the entitlement is not found for the customer. * Return Value: - * <br/> If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns + * If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns * an error. * */ @@ -5229,50 +5081,36 @@ protected CloudChannelServiceFutureStub build( *
          * Creates an entitlement for a customer.
          * Possible Error Codes:
    -     * <ul>
    -     * <li> PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    -     * </li> <li> INVALID_ARGUMENT: <ul>
    -     *   <li> Missing or invalid required parameters in the request. </li>
    -     *   <li> Cannot purchase an entitlement if there is already an
    -     *    entitlement for customer, for a SKU from the same product family. </li>
    -     *   <li> INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is
    -     * valid. If it is valid, then contact Google Channel support for further
    -     * troubleshooting. </li>
    -     * </ul>
    -     * </li>
    -     * <li> NOT_FOUND: If the customer or offer resource is not found for the
    -     * reseller. </li>
    -     * <li> ALREADY_EXISTS: This failure can happen in the following cases:
    -     *   <ul>
    -     *     <li>If the SKU has been already purchased for the customer.</li>
    -     *     <li>If the customer's primary email already exists. In this case retry
    -     *         after changing the customer's primary contact email.
    -     *     </li>
    -     *   </ul>
    -     * </li>
    -     * <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This
    -     * failure can happen in the following cases:
    -     * <ul>
    -     *    <li> Purchasing a SKU that requires domain verification and the
    -     *    domain has not been verified. </li>
    -     *    <li> Purchasing an Add-On SKU like Vault or Drive without purchasing
    -     *    the pre-requisite SKU, such as Google Workspace Business Starter. </li>
    -     *    <li> Applicable only for developer accounts: reseller and resold
    -     *    domain. Must meet the following domain naming requirements:
    -     *     <ul>
    -     *       <li> Domain names must start with goog-test. </li>
    -     *       <li> Resold domain names must include the reseller domain. </li>
    -     *     </ul>
    -     *    </li>
    -     * </ul>
    -     * </li>
    -     * <li> INTERNAL: Any non-user error related to a technical issue in the
    -     * backend. Contact Cloud Channel Support in this case. </li>
    -     * <li> UNKNOWN: Any non-user error related to a technical issue in the
    -     * backend. Contact Cloud Channel Support in this case. </li>
    -     * </ul>
    +     * * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    +     * * INVALID_ARGUMENT: It can happen in below scenarios -
    +     *     * Missing or invalid required parameters in the request.
    +     *     * Cannot purchase an entitlement if there is already an entitlement for
    +     *     customer, for a SKU from the same product family.
    +     *     * INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is
    +     *     valid. If it is valid, then contact Google Channel support for further
    +     *     troubleshooting.
    +     * * NOT_FOUND: If the customer or offer resource is not found for the
    +     * reseller.
    +     * * ALREADY_EXISTS: This failure can happen in the following cases:
    +     *     * If the SKU has been already purchased for the customer.
    +     *     * If the customer's primary email already exists. In this case retry
    +     *     after changing the customer's primary contact email.
    +     * * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
    +     * following cases:
    +     *     * Purchasing a SKU that requires domain verification and the domain has
    +     *     not been verified.
    +     *     * Purchasing an Add-On SKU like Vault or Drive without purchasing the
    +     *     pre-requisite SKU, such as Google Workspace Business Starter.
    +     *     * Applicable only for developer accounts: reseller and resold domain.
    +     *     Must meet the following domain naming requirements:
    +     *         * Domain names must start with goog-test.
    +     *         * Resold domain names must include the reseller domain.
    +     * * INTERNAL: Any non-user error related to a technical issue in the
    +     * backend. Contact Cloud Channel Support in this case.
    +     * * UNKNOWN: Any non-user error related to a technical issue in the
    +     * backend. Contact Cloud Channel Support in this case.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -5303,7 +5141,7 @@ protected CloudChannelServiceFutureStub build(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -5334,7 +5172,7 @@ protected CloudChannelServiceFutureStub build(
          * * UNKNOWN: Any non user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -5363,7 +5201,7 @@ protected CloudChannelServiceFutureStub build(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -5395,7 +5233,7 @@ protected CloudChannelServiceFutureStub build(
          * * UNKNOWN: Any non-user error related to a technical issue
          * in the backend. In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -5424,7 +5262,7 @@ protected CloudChannelServiceFutureStub build(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -5458,7 +5296,7 @@ protected CloudChannelServiceFutureStub build(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The response will contain
          * google.protobuf.Empty on success. The Operation metadata will contain an
    @@ -5497,7 +5335,7 @@ protected CloudChannelServiceFutureStub build(
          * * UNKNOWN: Any non-user error related to a technical issue in the backend.
          * In this case, contact Cloud Channel support.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -5515,35 +5353,28 @@ protected CloudChannelServiceFutureStub build(
          * 
          * Transfers customer entitlements to new reseller.
          * Possible Error Codes:
    -     * <ul>
    -     * <li> PERMISSION_DENIED: If the customer doesn't belong to the
    -     * reseller.</li> <li> INVALID_ARGUMENT: Missing or invalid required
    -     * parameters in the request. </li> <li> NOT_FOUND: If the customer or offer
    -     * resource is not found for the reseller. </li> <li> ALREADY_EXISTS: If the
    -     * SKU has been already transferred for the customer. </li> <li>
    -     * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
    -     * following cases: <ul>
    -     *    <li> Transferring a SKU that requires domain verification and the
    -     * domain has not been verified. </li>
    -     *    <li> Transferring an Add-On SKU like Vault or Drive without transferring
    -     * the pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for
    -     * developer accounts: reseller and resold domain must follow the domain
    -     * naming convention as follows:
    -     *      <ul>
    -     *         <li> Domain names must start with goog-test. </li>
    -     *         <li> Resold domain names must include the reseller domain. </li>
    -     *      </ul>
    -     *   </li>
    -     *   <li> All transferring entitlements must be specified. </li>
    -     * </ul>
    -     * </li>
    -     * <li> INTERNAL: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case. </li>
    -     * <li> UNKNOWN: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case. </li>
    -     * </ul>
    +     * * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    +     * * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
    +     * * NOT_FOUND: If the customer or offer resource is not found for the
    +     * reseller.
    +     * * ALREADY_EXISTS: If the SKU has been already transferred for the customer.
    +     * * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
    +     * following cases:
    +     *     * Transferring a SKU that requires domain verification and the domain
    +     *     has not been verified.
    +     *     * Transferring an Add-On SKU like Vault or Drive without transferring
    +     *     the pre-requisite SKU, such as G Suite Basic.
    +     *     * Applicable only for developer accounts: reseller and resold domain
    +     *     must follow the domain naming convention as follows:
    +     *         * Domain names must start with goog-test.
    +     *         * Resold domain names must include the reseller domain.
    +     *     * All transferring entitlements must be specified.
    +     * * INTERNAL: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
    +     * * UNKNOWN: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The Operation metadata will contain an
          * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
    @@ -5561,37 +5392,27 @@ protected CloudChannelServiceFutureStub build(
          * 
          * Transfers customer entitlements from current reseller to Google.
          * Possible Error Codes:
    -     * <ul>
    -     * <li> PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    -     * </li> <li> INVALID_ARGUMENT: Missing or invalid required parameters in the
    -     * request. </li>
    -     * <li> NOT_FOUND: If the customer or offer resource is not found
    -     * for the reseller. </li>
    -     * <li> ALREADY_EXISTS: If the SKU has been already
    -     * transferred for the customer. </li>
    -     * <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in
    +     * * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
    +     * * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
    +     * * NOT_FOUND: If the customer or offer resource is not found for the
    +     * reseller.
    +     * * ALREADY_EXISTS: If the SKU has been already transferred for the customer.
    +     * * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in
          * the following cases:
    -     * <ul>
    -     *    <li> Transferring a SKU that requires domain verification and the
    -     * domain has not been verified. </li>
    -     *    <li> Transferring an Add-On SKU like Vault or Drive without purchasing
    -     * the pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for
    -     * developer accounts: reseller and resold domain must follow the domain
    -     * naming convention as follows:
    -     *      <ul>
    -     *         <li> Domain names must start with goog-test. </li>
    -     *         <li> Resold domain names must include the reseller domain. </li>
    -     *      </ul>
    -     *    </li>
    -     * </ul>
    -     * </li>
    -     * <li> INTERNAL: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case. </li>
    -     * <li> UNKNOWN: Any non-user error related to a technical issue in the
    -     * backend. Please contact Cloud Channel Support in this case.</li>
    -     * </ul>
    +     *     * Transferring a SKU that requires domain verification and the domain
    +     *     has not been verified.
    +     *     * Transferring an Add-On SKU like Vault or Drive without purchasing the
    +     *     pre-requisite SKU, such as G Suite Basic.
    +     *     * Applicable only for developer accounts: reseller and resold domain
    +     *     must follow the domain naming convention as follows:
    +     *         * Domain names must start with goog-test.
    +     *         * Resold domain names must include the reseller domain.
    +     * * INTERNAL: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
    +     * * UNKNOWN: Any non-user error related to a technical issue in the backend.
    +     * Please contact Cloud Channel Support in this case.
          * Return Value:
    -     * <br/> Long Running Operation ID.
    +     * Long Running Operation ID.
          * To get the results of the operation, call the GetOperation method of
          * CloudChannelOperationsService. The response will contain
          * google.protobuf.Empty on success. The Operation metadata will contain an
    @@ -5617,7 +5438,7 @@ protected CloudChannelServiceFutureStub build(
          * * INVALID_ARGUMENT: Missing or invalid required parameters in the
          * request.
          * Return Value:
    -     * <br/> If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources
    +     * If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources
          * for the distributor account, otherwise returns an error.
          * 
    */ @@ -5643,7 +5464,7 @@ protected CloudChannelServiceFutureStub build( * * NOT_FOUND: ChannelPartnerLink resource not found. Results * due invalid channel partner link name. * Return Value: - * <br/> [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error. + * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error. *
    */ public com.google.common.util.concurrent.ListenableFuture< @@ -5676,7 +5497,7 @@ protected CloudChannelServiceFutureStub build( * * UNKNOWN: Any non-user error related to a technical issue in * the backend. In this case, contact Cloud Channel support. * Return Value: - * <br/> Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, + * Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, * otherwise error is returned. *
    */ @@ -5696,25 +5517,20 @@ protected CloudChannelServiceFutureStub build( * link's status. For example, suspend a partner link. * To call this method, you must be a distributor. * Possible Error Codes: - * <ul> - * <li> PERMISSION_DENIED: If the reseller account making the request and the - * reseller account being queried for are different. </li> - * <li> INVALID_ARGUMENT: - * <ul> - * <li> Missing or invalid required parameters in the request. </li> - * <li> Updating link state from invited to active or suspended. </li> - * <li> Sending reseller_cloud_identity_id, invite_url or name in update - * mask. </li> - * </ul> - * </li> - * <li> NOT_FOUND: ChannelPartnerLink resource not found.</li> - * <li> INTERNAL: Any non-user error related to a technical issue in the - * backend. In this case, contact Cloud Channel support. </li> - * <li> UNKNOWN: Any non-user error related to a technical issue in the - * backend. In this case, contact Cloud Channel support.</li> - * </ul> + * * PERMISSION_DENIED: If the reseller account making the request and the + * reseller account being queried for are different. + * * INVALID_ARGUMENT: It can happen in following scenarios - + * * Missing or invalid required parameters in the request. + * * Updating link state from invited to active or suspended. + * * Sending reseller_cloud_identity_id, invite_url or name in update + * mask. + * * NOT_FOUND: ChannelPartnerLink resource not found. + * * INTERNAL: Any non-user error related to a technical issue in the backend. + * In this case, contact Cloud Channel support. + * * UNKNOWN: Any non-user error related to a technical issue in the backend. + * In this case, contact Cloud Channel support. * Return Value: - * <br/> If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise + * If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise * returns an error. * */ diff --git a/proto-google-cloud-channel-v1/clirr-ignored-differences.xml b/proto-google-cloud-channel-v1/clirr-ignored-differences.xml new file mode 100644 index 00000000..b54d2084 --- /dev/null +++ b/proto-google-cloud-channel-v1/clirr-ignored-differences.xml @@ -0,0 +1,54 @@ + + + + + com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest* + 7002 + * get*(*) + + + com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest* + 7002 + * set*(*) + + + com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest* + 7002 + * clear*(*) + + + com/google/cloud/channel/v1/TransferableSku* + 7002 + * get*(*) + + + com/google/cloud/channel/v1/TransferableSku* + 7002 + * has*(*) + + + com/google/cloud/channel/v1/TransferableSku* + 7002 + * clear*(*) + + + com/google/cloud/channel/v1/TransferableSku* + 7002 + * set*(*) + + + com/google/cloud/channel/v1/TransferableSku* + 7002 + * merge*(*) + + + com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest* + 6011 + *_FIELD_NUMBER + + + com/google/cloud/channel/v1/TransferableSku* + 6011 + *_FIELD_NUMBER + + \ No newline at end of file diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java index af1eebc1..2aa509dc 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java @@ -40,7 +40,6 @@ private CreateChannelPartnerLinkRequest( private CreateChannelPartnerLinkRequest() { parent_ = ""; - domain_ = ""; } @java.lang.Override @@ -93,13 +92,6 @@ private CreateChannelPartnerLinkRequest( channelPartnerLink_ = subBuilder.buildPartial(); } - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; break; } default: @@ -249,59 +241,6 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner return getChannelPartnerLink(); } - public static final int DOMAIN_FIELD_NUMBER = 3; - private volatile java.lang.Object domain_; - /** - * - * - *
    -   * Optional. The invited partner's domain. Either domain or
    -   * channel_partner_link.reseller_cloud_identity_id can be used to create a
    -   * link.
    -   * 
    - * - * string domain = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The domain. - */ - @java.lang.Override - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - * - * - *
    -   * Optional. The invited partner's domain. Either domain or
    -   * channel_partner_link.reseller_cloud_identity_id can be used to create a
    -   * link.
    -   * 
    - * - * string domain = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for domain. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - private byte memoizedIsInitialized = -1; @java.lang.Override @@ -322,9 +261,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (channelPartnerLink_ != null) { output.writeMessage(2, getChannelPartnerLink()); } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, domain_); - } unknownFields.writeTo(output); } @@ -340,9 +276,6 @@ public int getSerializedSize() { if (channelPartnerLink_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChannelPartnerLink()); } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, domain_); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -364,7 +297,6 @@ public boolean equals(final java.lang.Object obj) { if (hasChannelPartnerLink()) { if (!getChannelPartnerLink().equals(other.getChannelPartnerLink())) return false; } - if (!getDomain().equals(other.getDomain())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -382,8 +314,6 @@ public int hashCode() { hash = (37 * hash) + CHANNEL_PARTNER_LINK_FIELD_NUMBER; hash = (53 * hash) + getChannelPartnerLink().hashCode(); } - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -538,8 +468,6 @@ public Builder clear() { channelPartnerLink_ = null; channelPartnerLinkBuilder_ = null; } - domain_ = ""; - return this; } @@ -573,7 +501,6 @@ public com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest buildPartial( } else { result.channelPartnerLink_ = channelPartnerLinkBuilder_.build(); } - result.domain_ = domain_; onBuilt(); return result; } @@ -631,10 +558,6 @@ public Builder mergeFrom(com.google.cloud.channel.v1.CreateChannelPartnerLinkReq if (other.hasChannelPartnerLink()) { mergeChannelPartnerLink(other.getChannelPartnerLink()); } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1004,122 +927,6 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder getChannelPartnerL return channelPartnerLinkBuilder_; } - private java.lang.Object domain_ = ""; - /** - * - * - *
    -     * Optional. The invited partner's domain. Either domain or
    -     * channel_partner_link.reseller_cloud_identity_id can be used to create a
    -     * link.
    -     * 
    - * - * string domain = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The domain. - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Optional. The invited partner's domain. Either domain or
    -     * channel_partner_link.reseller_cloud_identity_id can be used to create a
    -     * link.
    -     * 
    - * - * string domain = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for domain. - */ - public com.google.protobuf.ByteString getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Optional. The invited partner's domain. Either domain or
    -     * channel_partner_link.reseller_cloud_identity_id can be used to create a
    -     * link.
    -     * 
    - * - * string domain = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The domain to set. - * @return This builder for chaining. - */ - public Builder setDomain(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Optional. The invited partner's domain. Either domain or
    -     * channel_partner_link.reseller_cloud_identity_id can be used to create a
    -     * link.
    -     * 
    - * - * string domain = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Optional. The invited partner's domain. Either domain or
    -     * channel_partner_link.reseller_cloud_identity_id can be used to create a
    -     * link.
    -     * 
    - * - * string domain = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes for domain to set. - * @return This builder for chaining. - */ - public Builder setDomainBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java index d22aeac6..644f5b15 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java @@ -98,33 +98,4 @@ public interface CreateChannelPartnerLinkRequestOrBuilder * */ com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder(); - - /** - * - * - *
    -   * Optional. The invited partner's domain. Either domain or
    -   * channel_partner_link.reseller_cloud_identity_id can be used to create a
    -   * link.
    -   * 
    - * - * string domain = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The domain. - */ - java.lang.String getDomain(); - /** - * - * - *
    -   * Optional. The invited partner's domain. Either domain or
    -   * channel_partner_link.reseller_cloud_identity_id can be used to create a
    -   * link.
    -   * 
    - * - * string domain = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for domain. - */ - com.google.protobuf.ByteString getDomainBytes(); } diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java index c1ce8ea7..6b2b9795 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java @@ -127,22 +127,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\rpayment_cycle\030\006 \001(\0132\037.google.cloud.chan" + "nel.v1.Period\"L\n\rTrialSettings\022\r\n\005trial\030" + "\001 \001(\010\022,\n\010end_time\030\002 \001(\0132\032.google.protobu" - + "f.Timestamp\"\371\001\n\017TransferableSku\0221\n\ris_co" - + "mmitment\030\006 \001(\0132\032.google.protobuf.BoolVal" - + "ue\022<\n\030commitment_end_timestamp\030\007 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022J\n\024transfer_eli" - + "gibility\030\t \001(\0132,.google.cloud.channel.v1" - + ".TransferEligibility\022)\n\003sku\030\013 \001(\0132\034.goog" - + "le.cloud.channel.v1.Sku\"\371\001\n\023TransferElig" - + "ibility\022\023\n\013is_eligible\030\001 \001(\010\022\023\n\013descript" - + "ion\030\002 \001(\t\022Q\n\024ineligibility_reason\030\003 \001(\0162" - + "3.google.cloud.channel.v1.TransferEligib" - + "ility.Reason\"e\n\006Reason\022\026\n\022REASON_UNSPECI" - + "FIED\020\000\022\032\n\026PENDING_TOS_ACCEPTANCE\020\001\022\024\n\020SK" - + "U_NOT_ELIGIBLE\020\002\022\021\n\rSKU_SUSPENDED\020\003Br\n\033c" - + "om.google.cloud.channel.v1B\021Entitlements" - + "ProtoP\001Z>google.golang.org/genproto/goog" - + "leapis/cloud/channel/v1;channelb\006proto3" + + "f.Timestamp\"\210\001\n\017TransferableSku\022J\n\024trans" + + "fer_eligibility\030\t \001(\0132,.google.cloud.cha" + + "nnel.v1.TransferEligibility\022)\n\003sku\030\013 \001(\013" + + "2\034.google.cloud.channel.v1.Sku\"\371\001\n\023Trans" + + "ferEligibility\022\023\n\013is_eligible\030\001 \001(\010\022\023\n\013d" + + "escription\030\002 \001(\t\022Q\n\024ineligibility_reason" + + "\030\003 \001(\01623.google.cloud.channel.v1.Transfe" + + "rEligibility.Reason\"e\n\006Reason\022\026\n\022REASON_" + + "UNSPECIFIED\020\000\022\032\n\026PENDING_TOS_ACCEPTANCE\020" + + "\001\022\024\n\020SKU_NOT_ELIGIBLE\020\002\022\021\n\rSKU_SUSPENDED" + + "\020\003Br\n\033com.google.cloud.channel.v1B\021Entit" + + "lementsProtoP\001Z>google.golang.org/genpro" + + "to/googleapis/cloud/channel/v1;channelb\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -230,7 +228,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_channel_v1_TransferableSku_descriptor, new java.lang.String[] { - "IsCommitment", "CommitmentEndTimestamp", "TransferEligibility", "Sku", + "TransferEligibility", "Sku", }); internal_static_google_cloud_channel_v1_TransferEligibility_descriptor = getDescriptor().getMessageTypes().get(8); diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java index 64247aa0..ff0ea399 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java @@ -341,282 +341,282 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ext_page_token\030\002 \001(\t\"u\n\034GetChannelPartne" + "rLinkRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\004view\030" + "\002 \001(\0162/.google.cloud.channel.v1.ChannelP" - + "artnerLinkViewB\003\340A\001\"\233\001\n\037CreateChannelPar" + + "artnerLinkViewB\003\340A\001\"\206\001\n\037CreateChannelPar" + "tnerLinkRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022N\n\024" + "channel_partner_link\030\002 \001(\0132+.google.clou" - + "d.channel.v1.ChannelPartnerLinkB\003\340A\002\022\023\n\006" - + "domain\030\003 \001(\tB\003\340A\001\"\272\001\n\037UpdateChannelPartn" - + "erLinkRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022N\n\024chan" - + "nel_partner_link\030\002 \001(\0132+.google.cloud.ch" - + "annel.v1.ChannelPartnerLinkB\003\340A\002\0224\n\013upda" - + "te_mask\030\003 \001(\0132\032.google.protobuf.FieldMas" - + "kB\003\340A\002\"\261\001\n\030CreateEntitlementRequest\022<\n\006p" - + "arent\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.google" - + "apis.com/Customer\022>\n\013entitlement\030\002 \001(\0132$" - + ".google.cloud.channel.v1.EntitlementB\003\340A" - + "\002\022\027\n\nrequest_id\030\005 \001(\tB\003\340A\001\"\240\001\n\033TransferE" - + "ntitlementsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022" - + "?\n\014entitlements\030\002 \003(\0132$.google.cloud.cha" - + "nnel.v1.EntitlementB\003\340A\002\022\022\n\nauth_token\030\004" - + " \001(\t\022\027\n\nrequest_id\030\006 \001(\tB\003\340A\001\"Z\n\034Transfe" - + "rEntitlementsResponse\022:\n\014entitlements\030\001 " - + "\003(\0132$.google.cloud.channel.v1.Entitlemen" - + "t\"\224\001\n#TransferEntitlementsToGoogleReques" - + "t\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022?\n\014entitlements\030\002" - + " \003(\0132$.google.cloud.channel.v1.Entitleme" - + "ntB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\"\242\001\n\027Cha" - + "ngeParametersRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022" - + ";\n\nparameters\030\002 \003(\0132\".google.cloud.chann" - + "el.v1.ParameterB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\t" - + "B\003\340A\001\022\036\n\021purchase_order_id\030\005 \001(\tB\003\340A\001\"\223\001" - + "\n\034ChangeRenewalSettingsRequest\022\021\n\004name\030\001" - + " \001(\tB\003\340A\002\022G\n\020renewal_settings\030\004 \001(\0132(.go" - + "ogle.cloud.channel.v1.RenewalSettingsB\003\340" - + "A\002\022\027\n\nrequest_id\030\005 \001(\tB\003\340A\001\"\327\001\n\022ChangeOf" - + "ferRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\0228\n\005offer\030\002" - + " \001(\tB)\340A\002\372A#\n!cloudchannel.googleapis.co" - + "m/Offer\022;\n\nparameters\030\003 \003(\0132\".google.clo" - + "ud.channel.v1.ParameterB\003\340A\001\022\036\n\021purchase" - + "_order_id\030\005 \001(\tB\003\340A\001\022\027\n\nrequest_id\030\006 \001(\t" - + "B\003\340A\001\"E\n\027StartPaidServiceRequest\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\"F\n\030" - + "CancelEntitlementRequest\022\021\n\004name\030\001 \001(\tB\003" - + "\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\"G\n\031SuspendE" - + "ntitlementRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\n" - + "request_id\030\003 \001(\tB\003\340A\001\"H\n\032ActivateEntitle" - + "mentRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nreques" - + "t_id\030\003 \001(\tB\003\340A\001\"x\n\023ListProductsRequest\022\024" - + "\n\007account\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 \001(\005B" - + "\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\032\n\rlanguag" - + "e_code\030\004 \001(\tB\003\340A\001\"c\n\024ListProductsRespons" - + "e\0222\n\010products\030\001 \003(\0132 .google.cloud.chann" - + "el.v1.Product\022\027\n\017next_page_token\030\002 \001(\t\"\261" - + "\001\n\017ListSkusRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372" - + "A%\n#cloudchannel.googleapis.com/Product\022" - + "\024\n\007account\030\002 \001(\tB\003\340A\002\022\026\n\tpage_size\030\003 \001(\005" - + "B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\001\022\032\n\rlangua" - + "ge_code\030\005 \001(\tB\003\340A\001\"W\n\020ListSkusResponse\022*" - + "\n\004skus\030\001 \003(\0132\034.google.cloud.channel.v1.S" - + "ku\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\021ListOffe" - + "rsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\026\n\tpage_s" - + "ize\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022" - + "\023\n\006filter\030\004 \001(\tB\003\340A\001\022\032\n\rlanguage_code\030\005 " - + "\001(\tB\003\340A\001\"]\n\022ListOffersResponse\022.\n\006offers" - + "\030\001 \003(\0132\036.google.cloud.channel.v1.Offer\022\027" - + "\n\017next_page_token\030\002 \001(\t\"\266\005\n\032ListPurchasa" - + "bleSkusRequest\022t\n\033create_entitlement_pur" - + "chase\030\002 \001(\0132M.google.cloud.channel.v1.Li" - + "stPurchasableSkusRequest.CreateEntitleme" - + "ntPurchaseH\000\022h\n\025change_offer_purchase\030\003 " - + "\001(\0132G.google.cloud.channel.v1.ListPurcha" - + "sableSkusRequest.ChangeOfferPurchaseH\000\022>" - + "\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.g" - + "oogleapis.com/Customer\022\026\n\tpage_size\030\004 \001(" - + "\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022\032\n\rlangu" - + "age_code\030\006 \001(\tB\003\340A\001\0321\n\031CreateEntitlement" - + "Purchase\022\024\n\007product\030\001 \001(\tB\003\340A\002\032\344\001\n\023Chang" - + "eOfferPurchase\022\030\n\013entitlement\030\001 \001(\tB\003\340A\002" - + "\022l\n\013change_type\030\002 \001(\0162R.google.cloud.cha" - + "nnel.v1.ListPurchasableSkusRequest.Chang" - + "eOfferPurchase.ChangeTypeB\003\340A\002\"E\n\nChange" - + "Type\022\033\n\027CHANGE_TYPE_UNSPECIFIED\020\000\022\013\n\007UPG" - + "RADE\020\001\022\r\n\tDOWNGRADE\020\002B\021\n\017purchase_option" - + "\"y\n\033ListPurchasableSkusResponse\022A\n\020purch" - + "asable_skus\030\001 \003(\0132\'.google.cloud.channel" - + ".v1.PurchasableSku\022\027\n\017next_page_token\030\002 " - + "\001(\t\";\n\016PurchasableSku\022)\n\003sku\030\001 \001(\0132\034.goo" - + "gle.cloud.channel.v1.Sku\"\230\004\n\034ListPurchas" - + "ableOffersRequest\022v\n\033create_entitlement_" - + "purchase\030\002 \001(\0132O.google.cloud.channel.v1" - + ".ListPurchasableOffersRequest.CreateEnti" - + "tlementPurchaseH\000\022j\n\025change_offer_purcha" - + "se\030\003 \001(\0132I.google.cloud.channel.v1.ListP" - + "urchasableOffersRequest.ChangeOfferPurch" - + "aseH\000\022>\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$cloudch" - + "annel.googleapis.com/Customer\022\026\n\tpage_si" - + "ze\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022\032" - + "\n\rlanguage_code\030\006 \001(\tB\003\340A\001\032-\n\031CreateEnti" - + "tlementPurchase\022\020\n\003sku\030\001 \001(\tB\003\340A\002\032E\n\023Cha" - + "ngeOfferPurchase\022\030\n\013entitlement\030\001 \001(\tB\003\340" - + "A\002\022\024\n\007new_sku\030\002 \001(\tB\003\340A\001B\021\n\017purchase_opt" - + "ion\"\177\n\035ListPurchasableOffersResponse\022E\n\022" - + "purchasable_offers\030\001 \003(\0132).google.cloud." - + "channel.v1.PurchasableOffer\022\027\n\017next_page" - + "_token\030\002 \001(\t\"A\n\020PurchasableOffer\022-\n\005offe" - + "r\030\001 \001(\0132\036.google.cloud.channel.v1.Offer\"" - + "O\n\031RegisterSubscriberRequest\022\024\n\007account\030" - + "\001 \001(\tB\003\340A\002\022\034\n\017service_account\030\002 \001(\tB\003\340A\002" - + "\"+\n\032RegisterSubscriberResponse\022\r\n\005topic\030" - + "\001 \001(\t\"Q\n\033UnregisterSubscriberRequest\022\024\n\007" - + "account\030\001 \001(\tB\003\340A\002\022\034\n\017service_account\030\002 " - + "\001(\tB\003\340A\002\"-\n\034UnregisterSubscriberResponse" - + "\022\r\n\005topic\030\001 \001(\t\"_\n\026ListSubscribersReques" - + "t\022\024\n\007account\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 \001" - + "(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"[\n\027List" - + "SubscribersResponse\022\r\n\005topic\030\001 \001(\t\022\030\n\020se" - + "rvice_accounts\030\002 \003(\t\022\027\n\017next_page_token\030" - + "\003 \001(\t2\3011\n\023CloudChannelService\022\231\001\n\rListCu" - + "stomers\022-.google.cloud.channel.v1.ListCu" - + "stomersRequest\032..google.cloud.channel.v1" - + ".ListCustomersResponse\")\202\323\344\223\002#\022!/v1/{par" - + "ent=accounts/*}/customers\022\217\001\n\013GetCustome" - + "r\022+.google.cloud.channel.v1.GetCustomerR" - + "equest\032!.google.cloud.channel.v1.Custome" - + "r\"0\202\323\344\223\002#\022!/v1/{name=accounts/*/customer" - + "s/*}\332A\004name\022\350\001\n\037CheckCloudIdentityAccoun" - + "tsExist\022?.google.cloud.channel.v1.CheckC" - + "loudIdentityAccountsExistRequest\032@.googl" - + "e.cloud.channel.v1.CheckCloudIdentityAcc" - + "ountsExistResponse\"B\202\323\344\223\002<\"7/v1/{parent=" - + "accounts/*}:checkCloudIdentityAccountsEx" - + "ist:\001*\022\230\001\n\016CreateCustomer\022..google.cloud" - + ".channel.v1.CreateCustomerRequest\032!.goog" - + "le.cloud.channel.v1.Customer\"3\202\323\344\223\002-\"!/v" - + "1/{parent=accounts/*}/customers:\010custome" - + "r\022\241\001\n\016UpdateCustomer\022..google.cloud.chan" - + "nel.v1.UpdateCustomerRequest\032!.google.cl" - + "oud.channel.v1.Customer\"<\202\323\344\223\00262*/v1/{cu" - + "stomer.name=accounts/*/customers/*}:\010cus" - + "tomer\022\212\001\n\016DeleteCustomer\022..google.cloud." - + "channel.v1.DeleteCustomerRequest\032\026.googl" - + "e.protobuf.Empty\"0\202\323\344\223\002#*!/v1/{name=acco" - + "unts/*/customers/*}\332A\004name\022\330\001\n\026Provision" - + "CloudIdentity\0226.google.cloud.channel.v1." - + "ProvisionCloudIdentityRequest\032\035.google.l" - + "ongrunning.Operation\"g\202\323\344\223\002A\"\n\013" + + "entitlement\030\002 \001(\0132$.google.cloud.channel" + + ".v1.EntitlementB\003\340A\002\022\027\n\nrequest_id\030\005 \001(\t" + + "B\003\340A\001\"\240\001\n\033TransferEntitlementsRequest\022\023\n" + + "\006parent\030\001 \001(\tB\003\340A\002\022?\n\014entitlements\030\002 \003(\013" + + "2$.google.cloud.channel.v1.EntitlementB\003" + + "\340A\002\022\022\n\nauth_token\030\004 \001(\t\022\027\n\nrequest_id\030\006 " + + "\001(\tB\003\340A\001\"Z\n\034TransferEntitlementsResponse" + + "\022:\n\014entitlements\030\001 \003(\0132$.google.cloud.ch" + + "annel.v1.Entitlement\"\224\001\n#TransferEntitle" + + "mentsToGoogleRequest\022\023\n\006parent\030\001 \001(\tB\003\340A" + + "\002\022?\n\014entitlements\030\002 \003(\0132$.google.cloud.c" + + "hannel.v1.EntitlementB\003\340A\002\022\027\n\nrequest_id" + + "\030\003 \001(\tB\003\340A\001\"\242\001\n\027ChangeParametersRequest\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\nparameters\030\002 \003(\0132\"" + + ".google.cloud.channel.v1.ParameterB\003\340A\002\022" + + "\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\036\n\021purchase_ord" + + "er_id\030\005 \001(\tB\003\340A\001\"\223\001\n\034ChangeRenewalSettin" + + "gsRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022G\n\020renewal_" + + "settings\030\004 \001(\0132(.google.cloud.channel.v1" + + ".RenewalSettingsB\003\340A\002\022\027\n\nrequest_id\030\005 \001(" + + "\tB\003\340A\001\"\327\001\n\022ChangeOfferRequest\022\021\n\004name\030\001 " + + "\001(\tB\003\340A\002\0228\n\005offer\030\002 \001(\tB)\340A\002\372A#\n!cloudch" + + "annel.googleapis.com/Offer\022;\n\nparameters" + + "\030\003 \003(\0132\".google.cloud.channel.v1.Paramet" + + "erB\003\340A\001\022\036\n\021purchase_order_id\030\005 \001(\tB\003\340A\001\022" + + "\027\n\nrequest_id\030\006 \001(\tB\003\340A\001\"E\n\027StartPaidSer" + + "viceRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nreques" + + "t_id\030\003 \001(\tB\003\340A\001\"F\n\030CancelEntitlementRequ" + + "est\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030\003 \001" + + "(\tB\003\340A\001\"G\n\031SuspendEntitlementRequest\022\021\n\004" + + "name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001" + + "\"H\n\032ActivateEntitlementRequest\022\021\n\004name\030\001" + + " \001(\tB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\"x\n\023Li" + + "stProductsRequest\022\024\n\007account\030\001 \001(\tB\003\340A\002\022" + + "\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 " + + "\001(\tB\003\340A\001\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A\001\"c\n\024" + + "ListProductsResponse\0222\n\010products\030\001 \003(\0132 " + + ".google.cloud.channel.v1.Product\022\027\n\017next" + + "_page_token\030\002 \001(\t\"\261\001\n\017ListSkusRequest\022;\n" + + "\006parent\030\001 \001(\tB+\340A\002\372A%\n#cloudchannel.goog" + + "leapis.com/Product\022\024\n\007account\030\002 \001(\tB\003\340A\002" + + "\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004" + + " \001(\tB\003\340A\001\022\032\n\rlanguage_code\030\005 \001(\tB\003\340A\001\"W\n" + + "\020ListSkusResponse\022*\n\004skus\030\001 \003(\0132\034.google" + + ".cloud.channel.v1.Sku\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\212\001\n\021ListOffersRequest\022\023\n\006parent\030\001" + + " \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npag" + + "e_token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022" + + "\032\n\rlanguage_code\030\005 \001(\tB\003\340A\001\"]\n\022ListOffer" + + "sResponse\022.\n\006offers\030\001 \003(\0132\036.google.cloud" + + ".channel.v1.Offer\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\266\005\n\032ListPurchasableSkusRequest\022t\n\033cre" + + "ate_entitlement_purchase\030\002 \001(\0132M.google." + + "cloud.channel.v1.ListPurchasableSkusRequ" + + "est.CreateEntitlementPurchaseH\000\022h\n\025chang" + + "e_offer_purchase\030\003 \001(\0132G.google.cloud.ch" + + "annel.v1.ListPurchasableSkusRequest.Chan" + + "geOfferPurchaseH\000\022>\n\010customer\030\001 \001(\tB,\340A\002" + + "\372A&\n$cloudchannel.googleapis.com/Custome" + + "r\022\026\n\tpage_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030" + + "\005 \001(\tB\003\340A\001\022\032\n\rlanguage_code\030\006 \001(\tB\003\340A\001\0321" + + "\n\031CreateEntitlementPurchase\022\024\n\007product\030\001" + + " \001(\tB\003\340A\002\032\344\001\n\023ChangeOfferPurchase\022\030\n\013ent" + + "itlement\030\001 \001(\tB\003\340A\002\022l\n\013change_type\030\002 \001(\016" + + "2R.google.cloud.channel.v1.ListPurchasab" + + "leSkusRequest.ChangeOfferPurchase.Change" + + "TypeB\003\340A\002\"E\n\nChangeType\022\033\n\027CHANGE_TYPE_U" + + "NSPECIFIED\020\000\022\013\n\007UPGRADE\020\001\022\r\n\tDOWNGRADE\020\002" + + "B\021\n\017purchase_option\"y\n\033ListPurchasableSk" + + "usResponse\022A\n\020purchasable_skus\030\001 \003(\0132\'.g" + + "oogle.cloud.channel.v1.PurchasableSku\022\027\n" + + "\017next_page_token\030\002 \001(\t\";\n\016PurchasableSku" + + "\022)\n\003sku\030\001 \001(\0132\034.google.cloud.channel.v1." + + "Sku\"\230\004\n\034ListPurchasableOffersRequest\022v\n\033" + + "create_entitlement_purchase\030\002 \001(\0132O.goog" + + "le.cloud.channel.v1.ListPurchasableOffer" + + "sRequest.CreateEntitlementPurchaseH\000\022j\n\025" + + "change_offer_purchase\030\003 \001(\0132I.google.clo" + + "ud.channel.v1.ListPurchasableOffersReque" + + "st.ChangeOfferPurchaseH\000\022>\n\010customer\030\001 \001" + + "(\tB,\340A\002\372A&\n$cloudchannel.googleapis.com/" + + "Customer\022\026\n\tpage_size\030\004 \001(\005B\003\340A\001\022\027\n\npage" + + "_token\030\005 \001(\tB\003\340A\001\022\032\n\rlanguage_code\030\006 \001(\t" + + "B\003\340A\001\032-\n\031CreateEntitlementPurchase\022\020\n\003sk" + + "u\030\001 \001(\tB\003\340A\002\032E\n\023ChangeOfferPurchase\022\030\n\013e" + + "ntitlement\030\001 \001(\tB\003\340A\002\022\024\n\007new_sku\030\002 \001(\tB\003" + + "\340A\001B\021\n\017purchase_option\"\177\n\035ListPurchasabl" + + "eOffersResponse\022E\n\022purchasable_offers\030\001 " + + "\003(\0132).google.cloud.channel.v1.Purchasabl" + + "eOffer\022\027\n\017next_page_token\030\002 \001(\t\"A\n\020Purch" + + "asableOffer\022-\n\005offer\030\001 \001(\0132\036.google.clou" + + "d.channel.v1.Offer\"O\n\031RegisterSubscriber" + + "Request\022\024\n\007account\030\001 \001(\tB\003\340A\002\022\034\n\017service" + + "_account\030\002 \001(\tB\003\340A\002\"+\n\032RegisterSubscribe" + + "rResponse\022\r\n\005topic\030\001 \001(\t\"Q\n\033UnregisterSu" + + "bscriberRequest\022\024\n\007account\030\001 \001(\tB\003\340A\002\022\034\n" + + "\017service_account\030\002 \001(\tB\003\340A\002\"-\n\034Unregiste" + + "rSubscriberResponse\022\r\n\005topic\030\001 \001(\t\"_\n\026Li" + + "stSubscribersRequest\022\024\n\007account\030\001 \001(\tB\003\340" + + "A\002\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token" + + "\030\003 \001(\tB\003\340A\001\"[\n\027ListSubscribersResponse\022\r" + + "\n\005topic\030\001 \001(\t\022\030\n\020service_accounts\030\002 \003(\t\022" + + "\027\n\017next_page_token\030\003 \001(\t2\3011\n\023CloudChanne" + + "lService\022\231\001\n\rListCustomers\022-.google.clou" + + "d.channel.v1.ListCustomersRequest\032..goog" + + "le.cloud.channel.v1.ListCustomersRespons" + + "e\")\202\323\344\223\002#\022!/v1/{parent=accounts/*}/custo" + + "mers\022\217\001\n\013GetCustomer\022+.google.cloud.chan" + + "nel.v1.GetCustomerRequest\032!.google.cloud" + + ".channel.v1.Customer\"0\202\323\344\223\002#\022!/v1/{name=" + + "accounts/*/customers/*}\332A\004name\022\350\001\n\037Check" + + "CloudIdentityAccountsExist\022?.google.clou" + + "d.channel.v1.CheckCloudIdentityAccountsE" + + "xistRequest\032@.google.cloud.channel.v1.Ch" + + "eckCloudIdentityAccountsExistResponse\"B\202" + + "\323\344\223\002<\"7/v1/{parent=accounts/*}:checkClou" + + "dIdentityAccountsExist:\001*\022\230\001\n\016CreateCust" + + "omer\022..google.cloud.channel.v1.CreateCus" + + "tomerRequest\032!.google.cloud.channel.v1.C" + + "ustomer\"3\202\323\344\223\002-\"!/v1/{parent=accounts/*}" + + "/customers:\010customer\022\241\001\n\016UpdateCustomer\022" + + "..google.cloud.channel.v1.UpdateCustomer" + + "Request\032!.google.cloud.channel.v1.Custom" + + "er\"<\202\323\344\223\00262*/v1/{customer.name=accounts/" + + "*/customers/*}:\010customer\022\212\001\n\016DeleteCusto" + + "mer\022..google.cloud.channel.v1.DeleteCust" + + "omerRequest\032\026.google.protobuf.Empty\"0\202\323\344" + + "\223\002#*!/v1/{name=accounts/*/customers/*}\332A" + + "\004name\022\330\001\n\026ProvisionCloudIdentity\0226.googl" + + "e.cloud.channel.v1.ProvisionCloudIdentit" + + "yRequest\032\035.google.longrunning.Operation\"" + + "g\202\323\344\223\002A\"\"9/v1/{name=account" - + "s/*/customers/*/entitlements/*}:activate" - + ":\001*\312A \n\013Entitlement\022\021OperationMetadata\022\344" - + "\001\n\024TransferEntitlements\0224.google.cloud.c" - + "hannel.v1.TransferEntitlementsRequest\032\035." - + "google.longrunning.Operation\"w\202\323\344\223\002=\"8/v" - + "1/{parent=accounts/*/customers/*}:transf" - + "erEntitlements:\001*\312A1\n\034TransferEntitlemen" - + "tsResponse\022\021OperationMetadata\022\365\001\n\034Transf" - + "erEntitlementsToGoogle\022<.google.cloud.ch" - + "annel.v1.TransferEntitlementsToGoogleReq" - + "uest\032\035.google.longrunning.Operation\"x\202\323\344" - + "\223\002E\"@/v1/{parent=accounts/*/customers/*}" - + ":transferEntitlementsToGoogle:\001*\312A*\n\025goo" - + "gle.protobuf.Empty\022\021OperationMetadata\022\301\001" - + "\n\027ListChannelPartnerLinks\0227.google.cloud" - + ".channel.v1.ListChannelPartnerLinksReque" - + "st\0328.google.cloud.channel.v1.ListChannel" - + "PartnerLinksResponse\"3\202\323\344\223\002-\022+/v1/{paren" - + "t=accounts/*}/channelPartnerLinks\022\260\001\n\025Ge" - + "tChannelPartnerLink\0225.google.cloud.chann" - + "el.v1.GetChannelPartnerLinkRequest\032+.goo" - + "gle.cloud.channel.v1.ChannelPartnerLink\"" - + "3\202\323\344\223\002-\022+/v1/{name=accounts/*/channelPar" - + "tnerLinks/*}\022\314\001\n\030CreateChannelPartnerLin" - + "k\0228.google.cloud.channel.v1.CreateChanne" - + "lPartnerLinkRequest\032+.google.cloud.chann" - + "el.v1.ChannelPartnerLink\"I\202\323\344\223\002C\"+/v1/{p" - + "arent=accounts/*}/channelPartnerLinks:\024c" - + "hannel_partner_link\022\271\001\n\030UpdateChannelPar" - + "tnerLink\0228.google.cloud.channel.v1.Updat" - + "eChannelPartnerLinkRequest\032+.google.clou" - + "d.channel.v1.ChannelPartnerLink\"6\202\323\344\223\00202" - + "+/v1/{name=accounts/*/channelPartnerLink" - + "s/*}:\001*\022\201\001\n\014ListProducts\022,.google.cloud." - + "channel.v1.ListProductsRequest\032-.google." - + "cloud.channel.v1.ListProductsResponse\"\024\202" - + "\323\344\223\002\016\022\014/v1/products\022\205\001\n\010ListSkus\022(.googl" - + "e.cloud.channel.v1.ListSkusRequest\032).goo" - + "gle.cloud.channel.v1.ListSkusResponse\"$\202" - + "\323\344\223\002\036\022\034/v1/{parent=products/*}/skus\022\215\001\n\n" - + "ListOffers\022*.google.cloud.channel.v1.Lis" - + "tOffersRequest\032+.google.cloud.channel.v1" - + ".ListOffersResponse\"&\202\323\344\223\002 \022\036/v1/{parent" - + "=accounts/*}/offers\022\303\001\n\023ListPurchasableS" - + "kus\0223.google.cloud.channel.v1.ListPurcha" - + "sableSkusRequest\0324.google.cloud.channel." - + "v1.ListPurchasableSkusResponse\"A\202\323\344\223\002;\0229" - + "/v1/{customer=accounts/*/customers/*}:li" - + "stPurchasableSkus\022\313\001\n\025ListPurchasableOff" - + "ers\0225.google.cloud.channel.v1.ListPurcha" - + "sableOffersRequest\0326.google.cloud.channe" - + "l.v1.ListPurchasableOffersResponse\"C\202\323\344\223" - + "\002=\022;/v1/{customer=accounts/*/customers/*" - + "}:listPurchasableOffers\022\253\001\n\022RegisterSubs" - + "criber\0222.google.cloud.channel.v1.Registe" - + "rSubscriberRequest\0323.google.cloud.channe" - + "l.v1.RegisterSubscriberResponse\",\202\323\344\223\002&\"" - + "!/v1/{account=accounts/*}:register:\001*\022\263\001" - + "\n\024UnregisterSubscriber\0224.google.cloud.ch" - + "annel.v1.UnregisterSubscriberRequest\0325.g" - + "oogle.cloud.channel.v1.UnregisterSubscri" - + "berResponse\".\202\323\344\223\002(\"#/v1/{account=accoun" - + "ts/*}:unregister:\001*\022\246\001\n\017ListSubscribers\022" - + "/.google.cloud.channel.v1.ListSubscriber" - + "sRequest\0320.google.cloud.channel.v1.ListS" - + "ubscribersResponse\"0\202\323\344\223\002*\022(/v1/{account" - + "=accounts/*}:listSubscribers\032K\312A\033cloudch" - + "annel.googleapis.com\322A*https://www.googl" - + "eapis.com/auth/apps.orderBm\n\033com.google." - + "cloud.channel.v1B\014ServiceProtoP\001Z>google" - + ".golang.org/genproto/googleapis/cloud/ch" - + "annel/v1;channelb\006proto3" + + "*}:startPaidService:\001*\312A \n\013Entitlement\022\021" + + "OperationMetadata\022\317\001\n\022SuspendEntitlement" + + "\0222.google.cloud.channel.v1.SuspendEntitl" + + "ementRequest\032\035.google.longrunning.Operat" + + "ion\"f\202\323\344\223\002=\"8/v1/{name=accounts/*/custom" + + "ers/*/entitlements/*}:suspend:\001*\312A \n\013Ent" + + "itlement\022\021OperationMetadata\022\326\001\n\021CancelEn" + + "titlement\0221.google.cloud.channel.v1.Canc" + + "elEntitlementRequest\032\035.google.longrunnin" + + "g.Operation\"o\202\323\344\223\002<\"7/v1/{name=accounts/" + + "*/customers/*/entitlements/*}:cancel:\001*\312" + + "A*\n\025google.protobuf.Empty\022\021OperationMeta" + + "data\022\322\001\n\023ActivateEntitlement\0223.google.cl" + + "oud.channel.v1.ActivateEntitlementReques" + + "t\032\035.google.longrunning.Operation\"g\202\323\344\223\002>" + + "\"9/v1/{name=accounts/*/customers/*/entit" + + "lements/*}:activate:\001*\312A \n\013Entitlement\022\021" + + "OperationMetadata\022\344\001\n\024TransferEntitlemen" + + "ts\0224.google.cloud.channel.v1.TransferEnt" + + "itlementsRequest\032\035.google.longrunning.Op" + + "eration\"w\202\323\344\223\002=\"8/v1/{parent=accounts/*/" + + "customers/*}:transferEntitlements:\001*\312A1\n" + + "\034TransferEntitlementsResponse\022\021Operation" + + "Metadata\022\365\001\n\034TransferEntitlementsToGoogl" + + "e\022<.google.cloud.channel.v1.TransferEnti" + + "tlementsToGoogleRequest\032\035.google.longrun" + + "ning.Operation\"x\202\323\344\223\002E\"@/v1/{parent=acco" + + "unts/*/customers/*}:transferEntitlements" + + "ToGoogle:\001*\312A*\n\025google.protobuf.Empty\022\021O" + + "perationMetadata\022\301\001\n\027ListChannelPartnerL" + + "inks\0227.google.cloud.channel.v1.ListChann" + + "elPartnerLinksRequest\0328.google.cloud.cha" + + "nnel.v1.ListChannelPartnerLinksResponse\"" + + "3\202\323\344\223\002-\022+/v1/{parent=accounts/*}/channel" + + "PartnerLinks\022\260\001\n\025GetChannelPartnerLink\0225" + + ".google.cloud.channel.v1.GetChannelPartn" + + "erLinkRequest\032+.google.cloud.channel.v1." + + "ChannelPartnerLink\"3\202\323\344\223\002-\022+/v1/{name=ac" + + "counts/*/channelPartnerLinks/*}\022\314\001\n\030Crea" + + "teChannelPartnerLink\0228.google.cloud.chan" + + "nel.v1.CreateChannelPartnerLinkRequest\032+" + + ".google.cloud.channel.v1.ChannelPartnerL" + + "ink\"I\202\323\344\223\002C\"+/v1/{parent=accounts/*}/cha" + + "nnelPartnerLinks:\024channel_partner_link\022\271" + + "\001\n\030UpdateChannelPartnerLink\0228.google.clo" + + "ud.channel.v1.UpdateChannelPartnerLinkRe" + + "quest\032+.google.cloud.channel.v1.ChannelP" + + "artnerLink\"6\202\323\344\223\00202+/v1/{name=accounts/*" + + "/channelPartnerLinks/*}:\001*\022\201\001\n\014ListProdu" + + "cts\022,.google.cloud.channel.v1.ListProduc" + + "tsRequest\032-.google.cloud.channel.v1.List" + + "ProductsResponse\"\024\202\323\344\223\002\016\022\014/v1/products\022\205" + + "\001\n\010ListSkus\022(.google.cloud.channel.v1.Li" + + "stSkusRequest\032).google.cloud.channel.v1." + + "ListSkusResponse\"$\202\323\344\223\002\036\022\034/v1/{parent=pr" + + "oducts/*}/skus\022\215\001\n\nListOffers\022*.google.c" + + "loud.channel.v1.ListOffersRequest\032+.goog" + + "le.cloud.channel.v1.ListOffersResponse\"&" + + "\202\323\344\223\002 \022\036/v1/{parent=accounts/*}/offers\022\303" + + "\001\n\023ListPurchasableSkus\0223.google.cloud.ch" + + "annel.v1.ListPurchasableSkusRequest\0324.go" + + "ogle.cloud.channel.v1.ListPurchasableSku" + + "sResponse\"A\202\323\344\223\002;\0229/v1/{customer=account" + + "s/*/customers/*}:listPurchasableSkus\022\313\001\n" + + "\025ListPurchasableOffers\0225.google.cloud.ch" + + "annel.v1.ListPurchasableOffersRequest\0326." + + "google.cloud.channel.v1.ListPurchasableO" + + "ffersResponse\"C\202\323\344\223\002=\022;/v1/{customer=acc" + + "ounts/*/customers/*}:listPurchasableOffe" + + "rs\022\253\001\n\022RegisterSubscriber\0222.google.cloud" + + ".channel.v1.RegisterSubscriberRequest\0323." + + "google.cloud.channel.v1.RegisterSubscrib" + + "erResponse\",\202\323\344\223\002&\"!/v1/{account=account" + + "s/*}:register:\001*\022\263\001\n\024UnregisterSubscribe" + + "r\0224.google.cloud.channel.v1.UnregisterSu" + + "bscriberRequest\0325.google.cloud.channel.v" + + "1.UnregisterSubscriberResponse\".\202\323\344\223\002(\"#" + + "/v1/{account=accounts/*}:unregister:\001*\022\246" + + "\001\n\017ListSubscribers\022/.google.cloud.channe" + + "l.v1.ListSubscribersRequest\0320.google.clo" + + "ud.channel.v1.ListSubscribersResponse\"0\202" + + "\323\344\223\002*\022(/v1/{account=accounts/*}:listSubs" + + "cribers\032K\312A\033cloudchannel.googleapis.com\322" + + "A*https://www.googleapis.com/auth/apps.o" + + "rderBm\n\033com.google.cloud.channel.v1B\014Ser" + + "viceProtoP\001Z>google.golang.org/genproto/" + + "googleapis/cloud/channel/v1;channelb\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -824,7 +824,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor, new java.lang.String[] { - "Parent", "ChannelPartnerLink", "Domain", + "Parent", "ChannelPartnerLink", }); internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor = getDescriptor().getMessageTypes().get(22); diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java index 29d29e84..4c1c4157 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java @@ -70,36 +70,6 @@ private TransferableSku( case 0: done = true; break; - case 50: - { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (isCommitment_ != null) { - subBuilder = isCommitment_.toBuilder(); - } - isCommitment_ = - input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(isCommitment_); - isCommitment_ = subBuilder.buildPartial(); - } - - break; - } - case 58: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (commitmentEndTimestamp_ != null) { - subBuilder = commitmentEndTimestamp_.toBuilder(); - } - commitmentEndTimestamp_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(commitmentEndTimestamp_); - commitmentEndTimestamp_ = subBuilder.buildPartial(); - } - - break; - } case 74: { com.google.cloud.channel.v1.TransferEligibility.Builder subBuilder = null; @@ -164,102 +134,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.channel.v1.TransferableSku.Builder.class); } - public static final int IS_COMMITMENT_FIELD_NUMBER = 6; - private com.google.protobuf.BoolValue isCommitment_; - /** - * - * - *
    -   * Whether a transferable SKU is commitment-based or not.
    -   * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - * - * @return Whether the isCommitment field is set. - */ - @java.lang.Override - public boolean hasIsCommitment() { - return isCommitment_ != null; - } - /** - * - * - *
    -   * Whether a transferable SKU is commitment-based or not.
    -   * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - * - * @return The isCommitment. - */ - @java.lang.Override - public com.google.protobuf.BoolValue getIsCommitment() { - return isCommitment_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : isCommitment_; - } - /** - * - * - *
    -   * Whether a transferable SKU is commitment-based or not.
    -   * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - */ - @java.lang.Override - public com.google.protobuf.BoolValueOrBuilder getIsCommitmentOrBuilder() { - return getIsCommitment(); - } - - public static final int COMMITMENT_END_TIMESTAMP_FIELD_NUMBER = 7; - private com.google.protobuf.Timestamp commitmentEndTimestamp_; - /** - * - * - *
    -   * Commitment end timestamp.
    -   * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - * - * @return Whether the commitmentEndTimestamp field is set. - */ - @java.lang.Override - public boolean hasCommitmentEndTimestamp() { - return commitmentEndTimestamp_ != null; - } - /** - * - * - *
    -   * Commitment end timestamp.
    -   * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - * - * @return The commitmentEndTimestamp. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getCommitmentEndTimestamp() { - return commitmentEndTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitmentEndTimestamp_; - } - /** - * - * - *
    -   * Commitment end timestamp.
    -   * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getCommitmentEndTimestampOrBuilder() { - return getCommitmentEndTimestamp(); - } - public static final int TRANSFER_ELIGIBILITY_FIELD_NUMBER = 9; private com.google.cloud.channel.v1.TransferEligibility transferEligibility_; /** @@ -369,12 +243,6 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (isCommitment_ != null) { - output.writeMessage(6, getIsCommitment()); - } - if (commitmentEndTimestamp_ != null) { - output.writeMessage(7, getCommitmentEndTimestamp()); - } if (transferEligibility_ != null) { output.writeMessage(9, getTransferEligibility()); } @@ -390,13 +258,6 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (isCommitment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getIsCommitment()); - } - if (commitmentEndTimestamp_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCommitmentEndTimestamp()); - } if (transferEligibility_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTransferEligibility()); } @@ -419,14 +280,6 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.channel.v1.TransferableSku other = (com.google.cloud.channel.v1.TransferableSku) obj; - if (hasIsCommitment() != other.hasIsCommitment()) return false; - if (hasIsCommitment()) { - if (!getIsCommitment().equals(other.getIsCommitment())) return false; - } - if (hasCommitmentEndTimestamp() != other.hasCommitmentEndTimestamp()) return false; - if (hasCommitmentEndTimestamp()) { - if (!getCommitmentEndTimestamp().equals(other.getCommitmentEndTimestamp())) return false; - } if (hasTransferEligibility() != other.hasTransferEligibility()) return false; if (hasTransferEligibility()) { if (!getTransferEligibility().equals(other.getTransferEligibility())) return false; @@ -446,14 +299,6 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasIsCommitment()) { - hash = (37 * hash) + IS_COMMITMENT_FIELD_NUMBER; - hash = (53 * hash) + getIsCommitment().hashCode(); - } - if (hasCommitmentEndTimestamp()) { - hash = (37 * hash) + COMMITMENT_END_TIMESTAMP_FIELD_NUMBER; - hash = (53 * hash) + getCommitmentEndTimestamp().hashCode(); - } if (hasTransferEligibility()) { hash = (37 * hash) + TRANSFER_ELIGIBILITY_FIELD_NUMBER; hash = (53 * hash) + getTransferEligibility().hashCode(); @@ -609,18 +454,6 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - if (isCommitmentBuilder_ == null) { - isCommitment_ = null; - } else { - isCommitment_ = null; - isCommitmentBuilder_ = null; - } - if (commitmentEndTimestampBuilder_ == null) { - commitmentEndTimestamp_ = null; - } else { - commitmentEndTimestamp_ = null; - commitmentEndTimestampBuilder_ = null; - } if (transferEligibilityBuilder_ == null) { transferEligibility_ = null; } else { @@ -660,16 +493,6 @@ public com.google.cloud.channel.v1.TransferableSku build() { public com.google.cloud.channel.v1.TransferableSku buildPartial() { com.google.cloud.channel.v1.TransferableSku result = new com.google.cloud.channel.v1.TransferableSku(this); - if (isCommitmentBuilder_ == null) { - result.isCommitment_ = isCommitment_; - } else { - result.isCommitment_ = isCommitmentBuilder_.build(); - } - if (commitmentEndTimestampBuilder_ == null) { - result.commitmentEndTimestamp_ = commitmentEndTimestamp_; - } else { - result.commitmentEndTimestamp_ = commitmentEndTimestampBuilder_.build(); - } if (transferEligibilityBuilder_ == null) { result.transferEligibility_ = transferEligibility_; } else { @@ -729,12 +552,6 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.channel.v1.TransferableSku other) { if (other == com.google.cloud.channel.v1.TransferableSku.getDefaultInstance()) return this; - if (other.hasIsCommitment()) { - mergeIsCommitment(other.getIsCommitment()); - } - if (other.hasCommitmentEndTimestamp()) { - mergeCommitmentEndTimestamp(other.getCommitmentEndTimestamp()); - } if (other.hasTransferEligibility()) { mergeTransferEligibility(other.getTransferEligibility()); } @@ -770,377 +587,6 @@ public Builder mergeFrom( return this; } - private com.google.protobuf.BoolValue isCommitment_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - isCommitmentBuilder_; - /** - * - * - *
    -     * Whether a transferable SKU is commitment-based or not.
    -     * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - * - * @return Whether the isCommitment field is set. - */ - public boolean hasIsCommitment() { - return isCommitmentBuilder_ != null || isCommitment_ != null; - } - /** - * - * - *
    -     * Whether a transferable SKU is commitment-based or not.
    -     * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - * - * @return The isCommitment. - */ - public com.google.protobuf.BoolValue getIsCommitment() { - if (isCommitmentBuilder_ == null) { - return isCommitment_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : isCommitment_; - } else { - return isCommitmentBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Whether a transferable SKU is commitment-based or not.
    -     * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - */ - public Builder setIsCommitment(com.google.protobuf.BoolValue value) { - if (isCommitmentBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - isCommitment_ = value; - onChanged(); - } else { - isCommitmentBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Whether a transferable SKU is commitment-based or not.
    -     * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - */ - public Builder setIsCommitment(com.google.protobuf.BoolValue.Builder builderForValue) { - if (isCommitmentBuilder_ == null) { - isCommitment_ = builderForValue.build(); - onChanged(); - } else { - isCommitmentBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Whether a transferable SKU is commitment-based or not.
    -     * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - */ - public Builder mergeIsCommitment(com.google.protobuf.BoolValue value) { - if (isCommitmentBuilder_ == null) { - if (isCommitment_ != null) { - isCommitment_ = - com.google.protobuf.BoolValue.newBuilder(isCommitment_) - .mergeFrom(value) - .buildPartial(); - } else { - isCommitment_ = value; - } - onChanged(); - } else { - isCommitmentBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Whether a transferable SKU is commitment-based or not.
    -     * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - */ - public Builder clearIsCommitment() { - if (isCommitmentBuilder_ == null) { - isCommitment_ = null; - onChanged(); - } else { - isCommitment_ = null; - isCommitmentBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Whether a transferable SKU is commitment-based or not.
    -     * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - */ - public com.google.protobuf.BoolValue.Builder getIsCommitmentBuilder() { - - onChanged(); - return getIsCommitmentFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Whether a transferable SKU is commitment-based or not.
    -     * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - */ - public com.google.protobuf.BoolValueOrBuilder getIsCommitmentOrBuilder() { - if (isCommitmentBuilder_ != null) { - return isCommitmentBuilder_.getMessageOrBuilder(); - } else { - return isCommitment_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : isCommitment_; - } - } - /** - * - * - *
    -     * Whether a transferable SKU is commitment-based or not.
    -     * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - getIsCommitmentFieldBuilder() { - if (isCommitmentBuilder_ == null) { - isCommitmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder>( - getIsCommitment(), getParentForChildren(), isClean()); - isCommitment_ = null; - } - return isCommitmentBuilder_; - } - - private com.google.protobuf.Timestamp commitmentEndTimestamp_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - commitmentEndTimestampBuilder_; - /** - * - * - *
    -     * Commitment end timestamp.
    -     * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - * - * @return Whether the commitmentEndTimestamp field is set. - */ - public boolean hasCommitmentEndTimestamp() { - return commitmentEndTimestampBuilder_ != null || commitmentEndTimestamp_ != null; - } - /** - * - * - *
    -     * Commitment end timestamp.
    -     * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - * - * @return The commitmentEndTimestamp. - */ - public com.google.protobuf.Timestamp getCommitmentEndTimestamp() { - if (commitmentEndTimestampBuilder_ == null) { - return commitmentEndTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitmentEndTimestamp_; - } else { - return commitmentEndTimestampBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Commitment end timestamp.
    -     * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - */ - public Builder setCommitmentEndTimestamp(com.google.protobuf.Timestamp value) { - if (commitmentEndTimestampBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - commitmentEndTimestamp_ = value; - onChanged(); - } else { - commitmentEndTimestampBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Commitment end timestamp.
    -     * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - */ - public Builder setCommitmentEndTimestamp( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (commitmentEndTimestampBuilder_ == null) { - commitmentEndTimestamp_ = builderForValue.build(); - onChanged(); - } else { - commitmentEndTimestampBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Commitment end timestamp.
    -     * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - */ - public Builder mergeCommitmentEndTimestamp(com.google.protobuf.Timestamp value) { - if (commitmentEndTimestampBuilder_ == null) { - if (commitmentEndTimestamp_ != null) { - commitmentEndTimestamp_ = - com.google.protobuf.Timestamp.newBuilder(commitmentEndTimestamp_) - .mergeFrom(value) - .buildPartial(); - } else { - commitmentEndTimestamp_ = value; - } - onChanged(); - } else { - commitmentEndTimestampBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Commitment end timestamp.
    -     * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - */ - public Builder clearCommitmentEndTimestamp() { - if (commitmentEndTimestampBuilder_ == null) { - commitmentEndTimestamp_ = null; - onChanged(); - } else { - commitmentEndTimestamp_ = null; - commitmentEndTimestampBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Commitment end timestamp.
    -     * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - */ - public com.google.protobuf.Timestamp.Builder getCommitmentEndTimestampBuilder() { - - onChanged(); - return getCommitmentEndTimestampFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Commitment end timestamp.
    -     * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - */ - public com.google.protobuf.TimestampOrBuilder getCommitmentEndTimestampOrBuilder() { - if (commitmentEndTimestampBuilder_ != null) { - return commitmentEndTimestampBuilder_.getMessageOrBuilder(); - } else { - return commitmentEndTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitmentEndTimestamp_; - } - } - /** - * - * - *
    -     * Commitment end timestamp.
    -     * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getCommitmentEndTimestampFieldBuilder() { - if (commitmentEndTimestampBuilder_ == null) { - commitmentEndTimestampBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCommitmentEndTimestamp(), getParentForChildren(), isClean()); - commitmentEndTimestamp_ = null; - } - return commitmentEndTimestampBuilder_; - } - private com.google.cloud.channel.v1.TransferEligibility transferEligibility_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.channel.v1.TransferEligibility, diff --git a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java index a1e0c327..5747cdac 100644 --- a/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java +++ b/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java @@ -23,76 +23,6 @@ public interface TransferableSkuOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferableSku) com.google.protobuf.MessageOrBuilder { - /** - * - * - *
    -   * Whether a transferable SKU is commitment-based or not.
    -   * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - * - * @return Whether the isCommitment field is set. - */ - boolean hasIsCommitment(); - /** - * - * - *
    -   * Whether a transferable SKU is commitment-based or not.
    -   * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - * - * @return The isCommitment. - */ - com.google.protobuf.BoolValue getIsCommitment(); - /** - * - * - *
    -   * Whether a transferable SKU is commitment-based or not.
    -   * 
    - * - * .google.protobuf.BoolValue is_commitment = 6; - */ - com.google.protobuf.BoolValueOrBuilder getIsCommitmentOrBuilder(); - - /** - * - * - *
    -   * Commitment end timestamp.
    -   * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - * - * @return Whether the commitmentEndTimestamp field is set. - */ - boolean hasCommitmentEndTimestamp(); - /** - * - * - *
    -   * Commitment end timestamp.
    -   * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - * - * @return The commitmentEndTimestamp. - */ - com.google.protobuf.Timestamp getCommitmentEndTimestamp(); - /** - * - * - *
    -   * Commitment end timestamp.
    -   * 
    - * - * .google.protobuf.Timestamp commitment_end_timestamp = 7; - */ - com.google.protobuf.TimestampOrBuilder getCommitmentEndTimestampOrBuilder(); - /** * * diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto index 688af897..0b5fc76b 100644 --- a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto +++ b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto index ec8aef9b..91a354ae 100644 --- a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto +++ b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto index 7cfb1835..da54d26e 100644 --- a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto +++ b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto index b2509daf..7d9ebeeb 100644 --- a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto +++ b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -204,12 +204,6 @@ message TrialSettings { // provisioned services for a customer that they do not own. // Read-only. message TransferableSku { - // Whether a transferable SKU is commitment-based or not. - google.protobuf.BoolValue is_commitment = 6; - - // Commitment end timestamp. - google.protobuf.Timestamp commitment_end_timestamp = 7; - // Describes the transfer eligibility of a SKU. TransferEligibility transfer_eligibility = 9; diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto index fef7e067..5b2e6bf9 100644 --- a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto +++ b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto index 46aa5f82..1d66d502 100644 --- a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto +++ b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto index 91422fc6..ee37f85d 100644 --- a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto +++ b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto index 39267b28..1ee40cb6 100644 --- a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto +++ b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -70,7 +70,7 @@ service CloudChannelService { // request. // // Return Value: - //
    List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if + // List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if // there are none. rpc ListCustomers(ListCustomersRequest) returns (ListCustomersResponse) { option (google.api.http) = { @@ -90,7 +90,7 @@ service CloudChannelService { // the result of an invalid name parameter. // // Return Value: - //
    [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise. + // [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise. rpc GetCustomer(GetCustomerRequest) returns (Customer) { option (google.api.http) = { get: "/v1/{name=accounts/*/customers/*}" @@ -108,12 +108,12 @@ service CloudChannelService { // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * INVALID_VALUE: Invalid domain value in the request. - // * NOT_FOUND: If there is no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] customer - // for the domain specified in the request. // // Return Value: - //
    List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources if any exist for - // the domain, otherwise an error is returned. + // List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain. + // List may be empty. + // Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if + // no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource match the domain. rpc CheckCloudIdentityAccountsExist(CheckCloudIdentityAccountsExistRequest) returns (CheckCloudIdentityAccountsExistResponse) { option (google.api.http) = { post: "/v1/{parent=accounts/*}:checkCloudIdentityAccountsExist" @@ -125,20 +125,16 @@ service CloudChannelService { // account. // // Possible Error Codes: - //
      - //
    • PERMISSION_DENIED: If the reseller account making the request and the - // reseller account being queried for are different.
    • - //
    • INVALID_ARGUMENT: - //
        - //
      • Missing or invalid required parameters in the request.
      • - //
      • Domain field value doesn't match the domain specified in primary - // email.
      • - //
      - //
    • - //
    + // + // * PERMISSION_DENIED: If the reseller account making the request and the + // reseller account being queried for are different. + // * INVALID_ARGUMENT: It can happen in following scenarios - + // * Missing or invalid required parameters in the request. + // * Domain field value doesn't match the domain specified in primary + // email. // // Return Value: - //
    If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise + // If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise // returns an error. rpc CreateCustomer(CreateCustomerRequest) returns (Customer) { option (google.api.http) = { @@ -160,7 +156,7 @@ service CloudChannelService { // specified in the request. // // Return Value: - //
    If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns + // If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns // an error. rpc UpdateCustomer(UpdateCustomerRequest) returns (Customer) { option (google.api.http) = { @@ -203,7 +199,7 @@ service CloudChannelService { // Contact Cloud Channel support in this case. // // Return Value: - //
    Long Running Operation ID. + // Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an @@ -227,7 +223,7 @@ service CloudChannelService { // * INVALID_ARGUMENT: Missing or invalid required parameters in the request. // // Return Value: - //
    List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if + // List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if // there are none. rpc ListEntitlements(ListEntitlementsRequest) returns (ListEntitlementsResponse) { option (google.api.http) = { @@ -243,21 +239,16 @@ service CloudChannelService { // the customer's Cloud Identity ID or Customer Name. // // Possible Error Codes: - //
      - //
    • PERMISSION_DENIED, due to one of the following reasons: - //
        - //
      • If the customer doesn't belong to the reseller and no auth token, - // or an invalid auth token is supplied.
      • If the reseller account - // making the request and the reseller account being queried for are - // different.
      • - //
      - //
    • - //
    • INVALID_ARGUMENT: Missing or invalid required parameters in the - // request.
    • - //
    + // + // * PERMISSION_DENIED: Appears because of one of the following - + // * The customer doesn't belong to the reseller and no auth token. + // * The supplied auth token is invalid. + // * The reseller account making the request and the queries reseller + // account are different. + // * INVALID_ARGUMENT: Missing or invalid required parameters in the request. // // Return Value: - //
    List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer. + // List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer. rpc ListTransferableSkus(ListTransferableSkusRequest) returns (ListTransferableSkusResponse) { option (google.api.http) = { post: "/v1/{parent=accounts/*}:listTransferableSkus" @@ -274,10 +265,11 @@ service CloudChannelService { // // Possible Error Codes: // - // * PERMISSION_DENIED, due to one of the following reasons: (a) If the - // customer doesn't belong to the reseller and no auth token or invalid auth - // token is supplied. (b) If the reseller account making the request and the - // reseller account being queried for are different. + // * PERMISSION_DENIED: Appears because of one of the following: + // * If the customer doesn't belong to the reseller and no auth token or + // invalid auth token is supplied. + // * If the reseller account making the request and the reseller account + // being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // @@ -300,7 +292,7 @@ service CloudChannelService { // * NOT_FOUND: If the entitlement is not found for the customer. // // Return Value: - //
    If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns + // If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns // an error. rpc GetEntitlement(GetEntitlementRequest) returns (Entitlement) { option (google.api.http) = { @@ -311,51 +303,38 @@ service CloudChannelService { // Creates an entitlement for a customer. // // Possible Error Codes: - //
      - //
    • PERMISSION_DENIED: If the customer doesn't belong to the reseller. - //
    • INVALID_ARGUMENT:
        - //
      • Missing or invalid required parameters in the request.
      • - //
      • Cannot purchase an entitlement if there is already an - // entitlement for customer, for a SKU from the same product family.
      • - //
      • INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is - // valid. If it is valid, then contact Google Channel support for further - // troubleshooting.
      • - //
      - //
    • - //
    • NOT_FOUND: If the customer or offer resource is not found for the - // reseller.
    • - //
    • ALREADY_EXISTS: This failure can happen in the following cases: - //
        - //
      • If the SKU has been already purchased for the customer.
      • - //
      • If the customer's primary email already exists. In this case retry - // after changing the customer's primary contact email. - //
      • - //
      - //
    • - //
    • CONDITION_NOT_MET or FAILED_PRECONDITION: This - // failure can happen in the following cases: - //
        - //
      • Purchasing a SKU that requires domain verification and the - // domain has not been verified.
      • - //
      • Purchasing an Add-On SKU like Vault or Drive without purchasing - // the pre-requisite SKU, such as Google Workspace Business Starter.
      • - //
      • Applicable only for developer accounts: reseller and resold - // domain. Must meet the following domain naming requirements: - //
          - //
        • Domain names must start with goog-test.
        • - //
        • Resold domain names must include the reseller domain.
        • - //
        - //
      • - //
      - //
    • - //
    • INTERNAL: Any non-user error related to a technical issue in the - // backend. Contact Cloud Channel Support in this case.
    • - //
    • UNKNOWN: Any non-user error related to a technical issue in the - // backend. Contact Cloud Channel Support in this case.
    • - //
    + // + // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. + // * INVALID_ARGUMENT: It can happen in below scenarios - + // * Missing or invalid required parameters in the request. + // * Cannot purchase an entitlement if there is already an entitlement for + // customer, for a SKU from the same product family. + // * INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is + // valid. If it is valid, then contact Google Channel support for further + // troubleshooting. + // * NOT_FOUND: If the customer or offer resource is not found for the + // reseller. + // * ALREADY_EXISTS: This failure can happen in the following cases: + // * If the SKU has been already purchased for the customer. + // * If the customer's primary email already exists. In this case retry + // after changing the customer's primary contact email. + // * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the + // following cases: + // * Purchasing a SKU that requires domain verification and the domain has + // not been verified. + // * Purchasing an Add-On SKU like Vault or Drive without purchasing the + // pre-requisite SKU, such as Google Workspace Business Starter. + // * Applicable only for developer accounts: reseller and resold domain. + // Must meet the following domain naming requirements: + // * Domain names must start with goog-test. + // * Resold domain names must include the reseller domain. + // * INTERNAL: Any non-user error related to a technical issue in the + // backend. Contact Cloud Channel Support in this case. + // * UNKNOWN: Any non-user error related to a technical issue in the + // backend. Contact Cloud Channel Support in this case. // // Return Value: - //
    Long Running Operation ID. + // Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an @@ -390,7 +369,7 @@ service CloudChannelService { // In this case, contact Cloud Channel support. // // Return Value: - //
    Long Running Operation ID. + // Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an @@ -425,7 +404,7 @@ service CloudChannelService { // In this case, contact Cloud Channel support. // // Return Value: - //
    Long Running Operation ID. + // Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an @@ -458,7 +437,7 @@ service CloudChannelService { // In this case, contact Cloud Channel support. // // Return Value: - //
    Long Running Operation ID. + // Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an @@ -494,7 +473,7 @@ service CloudChannelService { // in the backend. In this case, contact Cloud Channel support. // // Return Value: - //
    Long Running Operation ID. + // Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an @@ -526,7 +505,7 @@ service CloudChannelService { // In this case, contact Cloud Channel support. // // Return Value: - //
    Long Running Operation ID. + // Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an @@ -563,7 +542,7 @@ service CloudChannelService { // In this case, contact Cloud Channel support. // // Return Value: - //
    Long Running Operation ID. + // Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The response will contain @@ -605,7 +584,7 @@ service CloudChannelService { // In this case, contact Cloud Channel support. // // Return Value: - //
    Long Running Operation ID. + // Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an @@ -624,36 +603,30 @@ service CloudChannelService { // Transfers customer entitlements to new reseller. // // Possible Error Codes: - //
      - //
    • PERMISSION_DENIED: If the customer doesn't belong to the - // reseller.
    • INVALID_ARGUMENT: Missing or invalid required - // parameters in the request.
    • NOT_FOUND: If the customer or offer - // resource is not found for the reseller.
    • ALREADY_EXISTS: If the - // SKU has been already transferred for the customer.
    • - // CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the - // following cases:
        - //
      • Transferring a SKU that requires domain verification and the - // domain has not been verified.
      • - //
      • Transferring an Add-On SKU like Vault or Drive without transferring - // the pre-requisite SKU, such as G Suite Basic
      • Applicable only for - // developer accounts: reseller and resold domain must follow the domain - // naming convention as follows: - //
          - //
        • Domain names must start with goog-test.
        • - //
        • Resold domain names must include the reseller domain.
        • - //
        - //
      • - //
      • All transferring entitlements must be specified.
      • - //
      - //
    • - //
    • INTERNAL: Any non-user error related to a technical issue in the - // backend. Please contact Cloud Channel Support in this case.
    • - //
    • UNKNOWN: Any non-user error related to a technical issue in the - // backend. Please contact Cloud Channel Support in this case.
    • - //
    + // + // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. + // * INVALID_ARGUMENT: Missing or invalid required parameters in the request. + // * NOT_FOUND: If the customer or offer resource is not found for the + // reseller. + // * ALREADY_EXISTS: If the SKU has been already transferred for the customer. + // * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the + // following cases: + // * Transferring a SKU that requires domain verification and the domain + // has not been verified. + // * Transferring an Add-On SKU like Vault or Drive without transferring + // the pre-requisite SKU, such as G Suite Basic. + // * Applicable only for developer accounts: reseller and resold domain + // must follow the domain naming convention as follows: + // * Domain names must start with goog-test. + // * Resold domain names must include the reseller domain. + // * All transferring entitlements must be specified. + // * INTERNAL: Any non-user error related to a technical issue in the backend. + // Please contact Cloud Channel Support in this case. + // * UNKNOWN: Any non-user error related to a technical issue in the backend. + // Please contact Cloud Channel Support in this case. // // Return Value: - //
    Long Running Operation ID. + // Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an @@ -672,38 +645,29 @@ service CloudChannelService { // Transfers customer entitlements from current reseller to Google. // // Possible Error Codes: - //
      - //
    • PERMISSION_DENIED: If the customer doesn't belong to the reseller. - //
    • INVALID_ARGUMENT: Missing or invalid required parameters in the - // request.
    • - //
    • NOT_FOUND: If the customer or offer resource is not found - // for the reseller.
    • - //
    • ALREADY_EXISTS: If the SKU has been already - // transferred for the customer.
    • - //
    • CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in + // + // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. + // * INVALID_ARGUMENT: Missing or invalid required parameters in the request. + // * NOT_FOUND: If the customer or offer resource is not found for the + // reseller. + // * ALREADY_EXISTS: If the SKU has been already transferred for the customer. + // * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in // the following cases: - //
        - //
      • Transferring a SKU that requires domain verification and the - // domain has not been verified.
      • - //
      • Transferring an Add-On SKU like Vault or Drive without purchasing - // the pre-requisite SKU, such as G Suite Basic
      • Applicable only for - // developer accounts: reseller and resold domain must follow the domain - // naming convention as follows: - //
          - //
        • Domain names must start with goog-test.
        • - //
        • Resold domain names must include the reseller domain.
        • - //
        - //
      • - //
      - //
    • - //
    • INTERNAL: Any non-user error related to a technical issue in the - // backend. Please contact Cloud Channel Support in this case.
    • - //
    • UNKNOWN: Any non-user error related to a technical issue in the - // backend. Please contact Cloud Channel Support in this case.
    • - //
    + // * Transferring a SKU that requires domain verification and the domain + // has not been verified. + // * Transferring an Add-On SKU like Vault or Drive without purchasing the + // pre-requisite SKU, such as G Suite Basic. + // * Applicable only for developer accounts: reseller and resold domain + // must follow the domain naming convention as follows: + // * Domain names must start with goog-test. + // * Resold domain names must include the reseller domain. + // * INTERNAL: Any non-user error related to a technical issue in the backend. + // Please contact Cloud Channel Support in this case. + // * UNKNOWN: Any non-user error related to a technical issue in the backend. + // Please contact Cloud Channel Support in this case. // // Return Value: - //
    Long Running Operation ID. + // Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The response will contain @@ -731,7 +695,7 @@ service CloudChannelService { // request. // // Return Value: - //
    If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources + // If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources // for the distributor account, otherwise returns an error. rpc ListChannelPartnerLinks(ListChannelPartnerLinksRequest) returns (ListChannelPartnerLinksResponse) { option (google.api.http) = { @@ -752,7 +716,7 @@ service CloudChannelService { // due invalid channel partner link name. // // Return Value: - //
    [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error. + // [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error. rpc GetChannelPartnerLink(GetChannelPartnerLinkRequest) returns (ChannelPartnerLink) { option (google.api.http) = { get: "/v1/{name=accounts/*/channelPartnerLinks/*}" @@ -781,7 +745,7 @@ service CloudChannelService { // the backend. In this case, contact Cloud Channel support. // // Return Value: - //
    Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, + // Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, // otherwise error is returned. rpc CreateChannelPartnerLink(CreateChannelPartnerLinkRequest) returns (ChannelPartnerLink) { option (google.api.http) = { @@ -795,26 +759,22 @@ service CloudChannelService { // To call this method, you must be a distributor. // // Possible Error Codes: - //
      - //
    • PERMISSION_DENIED: If the reseller account making the request and the - // reseller account being queried for are different.
    • - //
    • INVALID_ARGUMENT: - //
        - //
      • Missing or invalid required parameters in the request.
      • - //
      • Updating link state from invited to active or suspended.
      • - //
      • Sending reseller_cloud_identity_id, invite_url or name in update - // mask.
      • - //
      - //
    • - //
    • NOT_FOUND: ChannelPartnerLink resource not found.
    • - //
    • INTERNAL: Any non-user error related to a technical issue in the - // backend. In this case, contact Cloud Channel support.
    • - //
    • UNKNOWN: Any non-user error related to a technical issue in the - // backend. In this case, contact Cloud Channel support.
    • - //
    + // + // * PERMISSION_DENIED: If the reseller account making the request and the + // reseller account being queried for are different. + // * INVALID_ARGUMENT: It can happen in following scenarios - + // * Missing or invalid required parameters in the request. + // * Updating link state from invited to active or suspended. + // * Sending reseller_cloud_identity_id, invite_url or name in update + // mask. + // * NOT_FOUND: ChannelPartnerLink resource not found. + // * INTERNAL: Any non-user error related to a technical issue in the backend. + // In this case, contact Cloud Channel support. + // * UNKNOWN: Any non-user error related to a technical issue in the backend. + // In this case, contact Cloud Channel support. // // Return Value: - //
    If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise + // If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise // returns an error. rpc UpdateChannelPartnerLink(UpdateChannelPartnerLinkRequest) returns (ChannelPartnerLink) { option (google.api.http) = { @@ -1319,11 +1279,6 @@ message CreateChannelPartnerLinkRequest { // Either channel_partner_link.reseller_cloud_identity_id or domain can be // used to create a link. ChannelPartnerLink channel_partner_link = 2 [(google.api.field_behavior) = REQUIRED]; - - // Optional. The invited partner's domain. Either domain or - // channel_partner_link.reseller_cloud_identity_id can be used to create a - // link. - string domain = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request message for [CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink] diff --git a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto index 0ec4a301..d2ae2f0c 100644 --- a/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto +++ b/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/synth.metadata b/synth.metadata index 28185c54..657a0fe2 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-channel.git", - "sha": "9071df63ce0c21ccf6e2d7ec149e361ff81c0cd7" + "sha": "8496f5e44499b2ff0b0a7da163516edbb982562a" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "2916ac4a35c49441baa5dc8c7e2ad5a1205ed2ca", + "internalRef": "358862009" } }, {