diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java index 3a6033a938bd..95d0a3c08e52 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java +++ b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java @@ -62,8 +62,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CustomerName name = CustomerName.of("[ACCOUNT]", "[CUSTOMER]"); * Customer response = cloudChannelServiceClient.getCustomer(name); @@ -100,8 +103,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * CloudChannelServiceSettings cloudChannelServiceSettings = * CloudChannelServiceSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -113,8 +119,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * CloudChannelServiceSettings cloudChannelServiceSettings = * CloudChannelServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); * CloudChannelServiceClient cloudChannelServiceClient = @@ -125,8 +134,11 @@ * the wire: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * CloudChannelServiceSettings cloudChannelServiceSettings = * CloudChannelServiceSettings.newBuilder() * .setTransportChannelProvider( @@ -231,8 +243,11 @@ public final OperationsClient getHttpJsonOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListCustomersRequest request = * ListCustomersRequest.newBuilder() @@ -272,8 +287,11 @@ public final ListCustomersPagedResponse listCustomers(ListCustomersRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListCustomersRequest request = * ListCustomersRequest.newBuilder() @@ -314,8 +332,11 @@ public final ListCustomersPagedResponse listCustomers(ListCustomersRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListCustomersRequest request = * ListCustomersRequest.newBuilder() @@ -363,8 +384,11 @@ public final UnaryCallablelistCust * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CustomerName name = CustomerName.of("[ACCOUNT]", "[CUSTOMER]"); * Customer response = cloudChannelServiceClient.getCustomer(name); @@ -400,8 +424,11 @@ public final Customer getCustomer(CustomerName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * String name = CustomerName.of("[ACCOUNT]", "[CUSTOMER]").toString(); * Customer response = cloudChannelServiceClient.getCustomer(name); @@ -436,8 +463,11 @@ public final Customer getCustomer(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * GetCustomerRequest request = * GetCustomerRequest.newBuilder() @@ -473,8 +503,11 @@ public final Customer getCustomer(GetCustomerRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * GetCustomerRequest request = * GetCustomerRequest.newBuilder() @@ -516,8 +549,11 @@ public final UnaryCallablegetCustomerCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CheckCloudIdentityAccountsExistRequest request = * CheckCloudIdentityAccountsExistRequest.newBuilder() @@ -562,8 +598,11 @@ public final CheckCloudIdentityAccountsExistResponse checkCloudIdentityAccountsE *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CheckCloudIdentityAccountsExistRequest request = * CheckCloudIdentityAccountsExistRequest.newBuilder() @@ -602,8 +641,11 @@ public final CheckCloudIdentityAccountsExistResponse checkCloudIdentityAccountsE *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CreateCustomerRequest request = * CreateCustomerRequest.newBuilder() @@ -640,8 +682,11 @@ public final Customer createCustomer(CreateCustomerRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CreateCustomerRequest request = * CreateCustomerRequest.newBuilder() @@ -679,8 +724,11 @@ public final UnaryCallablecreateCustomerCallab * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * UpdateCustomerRequest request = * UpdateCustomerRequest.newBuilder() @@ -718,8 +766,11 @@ public final Customer updateCustomer(UpdateCustomerRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * UpdateCustomerRequest request = * UpdateCustomerRequest.newBuilder() @@ -754,8 +805,11 @@ public final UnaryCallableupdateCustomerCallab * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CustomerName name = CustomerName.of("[ACCOUNT]", "[CUSTOMER]"); * cloudChannelServiceClient.deleteCustomer(name); @@ -788,8 +842,11 @@ public final void deleteCustomer(CustomerName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * String name = CustomerName.of("[ACCOUNT]", "[CUSTOMER]").toString(); * cloudChannelServiceClient.deleteCustomer(name); @@ -821,8 +878,11 @@ public final void deleteCustomer(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * DeleteCustomerRequest request = * DeleteCustomerRequest.newBuilder() @@ -856,8 +916,11 @@ public final void deleteCustomer(DeleteCustomerRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * DeleteCustomerRequest request = * DeleteCustomerRequest.newBuilder() @@ -897,8 +960,11 @@ public final UnaryCallabledeleteCustomerCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ImportCustomerRequest request = * ImportCustomerRequest.newBuilder() @@ -942,8 +1008,11 @@ public final Customer importCustomer(ImportCustomerRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ImportCustomerRequest request = * ImportCustomerRequest.newBuilder() @@ -992,8 +1061,11 @@ public final UnaryCallableimportCustomerCallab * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ProvisionCloudIdentityRequest request = * ProvisionCloudIdentityRequest.newBuilder() @@ -1042,8 +1114,11 @@ public final OperationFutureprovisionCloudIdentity * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ProvisionCloudIdentityRequest request = * ProvisionCloudIdentityRequest.newBuilder() @@ -1092,8 +1167,11 @@ public final OperationFutureprovisionCloudIdentity * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ProvisionCloudIdentityRequest request = * ProvisionCloudIdentityRequest.newBuilder() @@ -1130,8 +1208,11 @@ public final OperationFutureprovisionCloudIdentity * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListEntitlementsRequest request = * ListEntitlementsRequest.newBuilder() @@ -1168,8 +1249,11 @@ public final ListEntitlementsPagedResponse listEntitlements(ListEntitlementsRequ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListEntitlementsRequest request = * ListEntitlementsRequest.newBuilder() @@ -1207,8 +1291,11 @@ public final ListEntitlementsPagedResponse listEntitlements(ListEntitlementsRequ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListEntitlementsRequest request = * ListEntitlementsRequest.newBuilder() @@ -1260,8 +1347,11 @@ public final ListEntitlementsPagedResponse listEntitlements(ListEntitlementsRequ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListTransferableSkusRequest request = * ListTransferableSkusRequest.newBuilder() @@ -1309,8 +1399,11 @@ public final ListTransferableSkusPagedResponse listTransferableSkus( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListTransferableSkusRequest request = * ListTransferableSkusRequest.newBuilder() @@ -1357,8 +1450,11 @@ public final ListTransferableSkusPagedResponse listTransferableSkus( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListTransferableSkusRequest request = * ListTransferableSkusRequest.newBuilder() @@ -1412,8 +1508,11 @@ public final ListTransferableSkusPagedResponse listTransferableSkus( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListTransferableOffersRequest request = * ListTransferableOffersRequest.newBuilder() @@ -1461,8 +1560,11 @@ public final ListTransferableOffersPagedResponse listTransferableOffers( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListTransferableOffersRequest request = * ListTransferableOffersRequest.newBuilder() @@ -1509,8 +1611,11 @@ public final ListTransferableOffersPagedResponse listTransferableOffers( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListTransferableOffersRequest request = * ListTransferableOffersRequest.newBuilder() @@ -1558,8 +1663,11 @@ public final ListTransferableOffersPagedResponse listTransferableOffers( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * GetEntitlementRequest request = * GetEntitlementRequest.newBuilder() @@ -1593,8 +1701,11 @@ public final Entitlement getEntitlement(GetEntitlementRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * GetEntitlementRequest request = * GetEntitlementRequest.newBuilder() @@ -1648,8 +1759,11 @@ public final UnaryCallablegetEntitlementCal * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CreateEntitlementRequest request = * CreateEntitlementRequest.newBuilder() @@ -1706,8 +1820,11 @@ public final OperationFuturecreateEntitlementAs * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CreateEntitlementRequest request = * CreateEntitlementRequest.newBuilder() @@ -1764,8 +1881,11 @@ public final OperationFuturecreateEntitlementAs * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CreateEntitlementRequest request = * CreateEntitlementRequest.newBuilder() @@ -1814,8 +1934,11 @@ public final UnaryCallablecreateEntitlemen * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChangeParametersRequest request = * ChangeParametersRequest.newBuilder() @@ -1866,8 +1989,11 @@ public final OperationFuturechangeParametersAsy * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChangeParametersRequest request = * ChangeParametersRequest.newBuilder() @@ -1918,8 +2044,11 @@ public final OperationFuturechangeParametersAsy * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChangeParametersRequest request = * ChangeParametersRequest.newBuilder() @@ -1969,8 +2098,11 @@ public final UnaryCallablechangeParametersC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChangeRenewalSettingsRequest request = * ChangeRenewalSettingsRequest.newBuilder() @@ -2020,8 +2152,11 @@ public final OperationFuturechangeRenewalSettin * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChangeRenewalSettingsRequest request = * ChangeRenewalSettingsRequest.newBuilder() @@ -2071,8 +2206,11 @@ public final OperationFuturechangeRenewalSettin * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChangeRenewalSettingsRequest request = * ChangeRenewalSettingsRequest.newBuilder() @@ -2120,8 +2258,11 @@ public final OperationFuturechangeRenewalSettin * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChangeOfferRequest request = * ChangeOfferRequest.newBuilder() @@ -2171,8 +2312,11 @@ public final OperationFuturechangeOfferAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChangeOfferRequest request = * ChangeOfferRequest.newBuilder() @@ -2222,8 +2366,11 @@ public final OperationFuturechangeOfferAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChangeOfferRequest request = * ChangeOfferRequest.newBuilder() @@ -2273,8 +2420,11 @@ public final UnaryCallablechangeOfferCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * StartPaidServiceRequest request = * StartPaidServiceRequest.newBuilder() @@ -2322,8 +2472,11 @@ public final OperationFuturestartPaidServiceAsy * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * StartPaidServiceRequest request = * StartPaidServiceRequest.newBuilder() @@ -2371,8 +2524,11 @@ public final OperationFuturestartPaidServiceAsy * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * StartPaidServiceRequest request = * StartPaidServiceRequest.newBuilder() @@ -2418,8 +2574,11 @@ public final UnaryCallablestartPaidServiceC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * SuspendEntitlementRequest request = * SuspendEntitlementRequest.newBuilder() @@ -2466,8 +2625,11 @@ public final OperationFuturesuspendEntitlementA * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * SuspendEntitlementRequest request = * SuspendEntitlementRequest.newBuilder() @@ -2514,8 +2676,11 @@ public final OperationFuturesuspendEntitlementA * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * SuspendEntitlementRequest request = * SuspendEntitlementRequest.newBuilder() @@ -2566,8 +2731,11 @@ public final UnaryCallablesuspendEntitlem * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CancelEntitlementRequest request = * CancelEntitlementRequest.newBuilder() @@ -2619,8 +2787,11 @@ public final OperationFuturecancelEntitlementAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CancelEntitlementRequest request = * CancelEntitlementRequest.newBuilder() @@ -2672,8 +2843,11 @@ public final OperationFuturecancelEntitlementAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CancelEntitlementRequest request = * CancelEntitlementRequest.newBuilder() @@ -2724,8 +2898,11 @@ public final UnaryCallablecancelEntitlemen * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ActivateEntitlementRequest request = * ActivateEntitlementRequest.newBuilder() @@ -2777,8 +2954,11 @@ public final OperationFutureactivateEntitlement * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ActivateEntitlementRequest request = * ActivateEntitlementRequest.newBuilder() @@ -2830,8 +3010,11 @@ public final OperationFutureactivateEntitlement * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ActivateEntitlementRequest request = * ActivateEntitlementRequest.newBuilder() @@ -2881,8 +3064,11 @@ public final UnaryCallableactivateEntitl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * TransferEntitlementsRequest request = * TransferEntitlementsRequest.newBuilder() @@ -2936,8 +3122,11 @@ public final UnaryCallableactivateEntitl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * TransferEntitlementsRequest request = * TransferEntitlementsRequest.newBuilder() @@ -2991,8 +3180,11 @@ public final UnaryCallableactivateEntitl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * TransferEntitlementsRequest request = * TransferEntitlementsRequest.newBuilder() @@ -3046,8 +3238,11 @@ public final UnaryCallableactivateEntitl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * TransferEntitlementsToGoogleRequest request = * TransferEntitlementsToGoogleRequest.newBuilder() @@ -3100,8 +3295,11 @@ public final OperationFuturetransferEntitlementsToGoo * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * TransferEntitlementsToGoogleRequest request = * TransferEntitlementsToGoogleRequest.newBuilder() @@ -3156,8 +3354,11 @@ public final OperationFuturetransferEntitlementsToGoo * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * TransferEntitlementsToGoogleRequest request = * TransferEntitlementsToGoogleRequest.newBuilder() @@ -3196,8 +3397,11 @@ public final OperationFuturetransferEntitlementsToGoo * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListChannelPartnerLinksRequest request = * ListChannelPartnerLinksRequest.newBuilder() @@ -3240,8 +3444,11 @@ public final ListChannelPartnerLinksPagedResponse listChannelPartnerLinks( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListChannelPartnerLinksRequest request = * ListChannelPartnerLinksRequest.newBuilder() @@ -3283,8 +3490,11 @@ public final ListChannelPartnerLinksPagedResponse listChannelPartnerLinks( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListChannelPartnerLinksRequest request = * ListChannelPartnerLinksRequest.newBuilder() @@ -3334,8 +3544,11 @@ public final ListChannelPartnerLinksPagedResponse listChannelPartnerLinks( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * GetChannelPartnerLinkRequest request = * GetChannelPartnerLinkRequest.newBuilder() @@ -3373,8 +3586,11 @@ public final ChannelPartnerLink getChannelPartnerLink(GetChannelPartnerLinkReque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * GetChannelPartnerLinkRequest request = * GetChannelPartnerLinkRequest.newBuilder() @@ -3420,8 +3636,11 @@ public final ChannelPartnerLink getChannelPartnerLink(GetChannelPartnerLinkReque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CreateChannelPartnerLinkRequest request = * CreateChannelPartnerLinkRequest.newBuilder() @@ -3467,8 +3686,11 @@ public final ChannelPartnerLink createChannelPartnerLink( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CreateChannelPartnerLinkRequest request = * CreateChannelPartnerLinkRequest.newBuilder() @@ -3513,8 +3735,11 @@ public final ChannelPartnerLink createChannelPartnerLink( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * UpdateChannelPartnerLinkRequest request = * UpdateChannelPartnerLinkRequest.newBuilder() @@ -3560,8 +3785,11 @@ public final ChannelPartnerLink updateChannelPartnerLink( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * UpdateChannelPartnerLinkRequest request = * UpdateChannelPartnerLinkRequest.newBuilder() @@ -3603,8 +3831,11 @@ public final ChannelPartnerLink updateChannelPartnerLink( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CustomerRepricingConfigName name = * CustomerRepricingConfigName.of("[ACCOUNT]", "[CUSTOMER]", "[CUSTOMER_REPRICING_CONFIG]"); @@ -3647,8 +3878,11 @@ public final CustomerRepricingConfig getCustomerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * String name = * CustomerRepricingConfigName.of("[ACCOUNT]", "[CUSTOMER]", "[CUSTOMER_REPRICING_CONFIG]") @@ -3689,8 +3923,11 @@ public final CustomerRepricingConfig getCustomerRepricingConfig(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * GetCustomerRepricingConfigRequest request = * GetCustomerRepricingConfigRequest.newBuilder() @@ -3734,8 +3971,11 @@ public final CustomerRepricingConfig getCustomerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * GetCustomerRepricingConfigRequest request = * GetCustomerRepricingConfigRequest.newBuilder() @@ -3787,8 +4027,11 @@ public final CustomerRepricingConfig getCustomerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CustomerName parent = CustomerName.of("[ACCOUNT]", "[CUSTOMER]"); * for (CustomerRepricingConfig element : @@ -3843,8 +4086,11 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * String parent = CustomerName.of("[ACCOUNT]", "[CUSTOMER]").toString(); * for (CustomerRepricingConfig element : @@ -3897,8 +4143,11 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListCustomerRepricingConfigsRequest request = * ListCustomerRepricingConfigsRequest.newBuilder() @@ -3953,8 +4202,11 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListCustomerRepricingConfigsRequest request = * ListCustomerRepricingConfigsRequest.newBuilder() @@ -4009,8 +4261,11 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListCustomerRepricingConfigsRequest request = * ListCustomerRepricingConfigsRequest.newBuilder() @@ -4089,8 +4344,11 @@ public final ListCustomerRepricingConfigsPagedResponse listCustomerRepricingConf *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CustomerName parent = CustomerName.of("[ACCOUNT]", "[CUSTOMER]"); * CustomerRepricingConfig customerRepricingConfig = @@ -4163,8 +4421,11 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * String parent = CustomerName.of("[ACCOUNT]", "[CUSTOMER]").toString(); * CustomerRepricingConfig customerRepricingConfig = @@ -4237,8 +4498,11 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CreateCustomerRepricingConfigRequest request = * CreateCustomerRepricingConfigRequest.newBuilder() @@ -4306,8 +4570,11 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CreateCustomerRepricingConfigRequest request = * CreateCustomerRepricingConfigRequest.newBuilder() @@ -4364,8 +4631,11 @@ public final CustomerRepricingConfig createCustomerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CustomerRepricingConfig customerRepricingConfig = * CustomerRepricingConfig.newBuilder().build(); @@ -4424,8 +4694,11 @@ public final CustomerRepricingConfig updateCustomerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * UpdateCustomerRepricingConfigRequest request = * UpdateCustomerRepricingConfigRequest.newBuilder() @@ -4482,8 +4755,11 @@ public final CustomerRepricingConfig updateCustomerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * UpdateCustomerRepricingConfigRequest request = * UpdateCustomerRepricingConfigRequest.newBuilder() @@ -4523,8 +4799,11 @@ public final CustomerRepricingConfig updateCustomerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CustomerRepricingConfigName name = * CustomerRepricingConfigName.of("[ACCOUNT]", "[CUSTOMER]", "[CUSTOMER_REPRICING_CONFIG]"); @@ -4566,8 +4845,11 @@ public final void deleteCustomerRepricingConfig(CustomerRepricingConfigName name *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * String name = * CustomerRepricingConfigName.of("[ACCOUNT]", "[CUSTOMER]", "[CUSTOMER_REPRICING_CONFIG]") @@ -4608,8 +4890,11 @@ public final void deleteCustomerRepricingConfig(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * DeleteCustomerRepricingConfigRequest request = * DeleteCustomerRepricingConfigRequest.newBuilder() @@ -4651,8 +4936,11 @@ public final void deleteCustomerRepricingConfig(DeleteCustomerRepricingConfigReq *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * DeleteCustomerRepricingConfigRequest request = * DeleteCustomerRepricingConfigRequest.newBuilder() @@ -4697,8 +4985,11 @@ public final void deleteCustomerRepricingConfig(DeleteCustomerRepricingConfigReq *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChannelPartnerRepricingConfigName name = * ChannelPartnerRepricingConfigName.of( @@ -4745,8 +5036,11 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * String name = * ChannelPartnerRepricingConfigName.of( @@ -4791,8 +5085,11 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig(Stri *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * GetChannelPartnerRepricingConfigRequest request = * GetChannelPartnerRepricingConfigRequest.newBuilder() @@ -4838,8 +5135,11 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * GetChannelPartnerRepricingConfigRequest request = * GetChannelPartnerRepricingConfigRequest.newBuilder() @@ -4892,8 +5192,11 @@ public final ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChannelPartnerLinkName parent = * ChannelPartnerLinkName.of("[ACCOUNT]", "[CHANNEL_PARTNER_LINK]"); @@ -4951,8 +5254,11 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * String parent = ChannelPartnerLinkName.of("[ACCOUNT]", "[CHANNEL_PARTNER_LINK]").toString(); * for (ChannelPartnerRepricingConfig element : @@ -5007,8 +5313,11 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListChannelPartnerRepricingConfigsRequest request = * ListChannelPartnerRepricingConfigsRequest.newBuilder() @@ -5065,8 +5374,11 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListChannelPartnerRepricingConfigsRequest request = * ListChannelPartnerRepricingConfigsRequest.newBuilder() @@ -5126,8 +5438,11 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListChannelPartnerRepricingConfigsRequest request = * ListChannelPartnerRepricingConfigsRequest.newBuilder() @@ -5206,8 +5521,11 @@ public final ListChannelPartnerRepricingConfigsPagedResponse listChannelPartnerR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChannelPartnerLinkName parent = * ChannelPartnerLinkName.of("[ACCOUNT]", "[CHANNEL_PARTNER_LINK]"); @@ -5282,8 +5600,11 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * String parent = ChannelPartnerLinkName.of("[ACCOUNT]", "[CHANNEL_PARTNER_LINK]").toString(); * ChannelPartnerRepricingConfig channelPartnerRepricingConfig = @@ -5357,8 +5678,11 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CreateChannelPartnerRepricingConfigRequest request = * CreateChannelPartnerRepricingConfigRequest.newBuilder() @@ -5425,8 +5749,11 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CreateChannelPartnerRepricingConfigRequest request = * CreateChannelPartnerRepricingConfigRequest.newBuilder() @@ -5488,8 +5815,11 @@ public final ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChannelPartnerRepricingConfig channelPartnerRepricingConfig = * ChannelPartnerRepricingConfig.newBuilder().build(); @@ -5551,8 +5881,11 @@ public final ChannelPartnerRepricingConfig updateChannelPartnerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * UpdateChannelPartnerRepricingConfigRequest request = * UpdateChannelPartnerRepricingConfigRequest.newBuilder() @@ -5610,8 +5943,11 @@ public final ChannelPartnerRepricingConfig updateChannelPartnerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * UpdateChannelPartnerRepricingConfigRequest request = * UpdateChannelPartnerRepricingConfigRequest.newBuilder() @@ -5656,8 +5992,11 @@ public final ChannelPartnerRepricingConfig updateChannelPartnerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ChannelPartnerRepricingConfigName name = * ChannelPartnerRepricingConfigName.of( @@ -5701,8 +6040,11 @@ public final void deleteChannelPartnerRepricingConfig(ChannelPartnerRepricingCon *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * String name = * ChannelPartnerRepricingConfigName.of( @@ -5745,8 +6087,11 @@ public final void deleteChannelPartnerRepricingConfig(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * DeleteChannelPartnerRepricingConfigRequest request = * DeleteChannelPartnerRepricingConfigRequest.newBuilder() @@ -5791,8 +6136,11 @@ public final void deleteChannelPartnerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * DeleteChannelPartnerRepricingConfigRequest request = * DeleteChannelPartnerRepricingConfigRequest.newBuilder() @@ -5832,8 +6180,11 @@ public final void deleteChannelPartnerRepricingConfig( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * LookupOfferRequest request = * LookupOfferRequest.newBuilder() @@ -5868,8 +6219,11 @@ public final Offer lookupOffer(LookupOfferRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * LookupOfferRequest request = * LookupOfferRequest.newBuilder() @@ -5899,8 +6253,11 @@ public final UnaryCallablelookupOfferCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListProductsRequest request = * ListProductsRequest.newBuilder() @@ -5935,8 +6292,11 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListProductsRequest request = * ListProductsRequest.newBuilder() @@ -5972,8 +6332,11 @@ public final ListProductsPagedResponse listProducts(ListProductsRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListProductsRequest request = * ListProductsRequest.newBuilder() @@ -6015,8 +6378,11 @@ public final UnaryCallablelistProduc * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListSkusRequest request = * ListSkusRequest.newBuilder() @@ -6052,8 +6418,11 @@ public final ListSkusPagedResponse listSkus(ListSkusRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListSkusRequest request = * ListSkusRequest.newBuilder() @@ -6088,8 +6457,11 @@ public final UnaryCallablelistSkusPaged * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListSkusRequest request = * ListSkusRequest.newBuilder() @@ -6131,8 +6503,11 @@ public final UnaryCallablelistSkusCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListOffersRequest request = * ListOffersRequest.newBuilder() @@ -6168,8 +6543,11 @@ public final ListOffersPagedResponse listOffers(ListOffersRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListOffersRequest request = * ListOffersRequest.newBuilder() @@ -6205,8 +6583,11 @@ public final UnaryCallablelistOffer * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListOffersRequest request = * ListOffersRequest.newBuilder() @@ -6254,8 +6635,11 @@ public final UnaryCallablelistOffersCall * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListPurchasableSkusRequest request = * ListPurchasableSkusRequest.newBuilder() @@ -6298,8 +6682,11 @@ public final ListPurchasableSkusPagedResponse listPurchasableSkus( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListPurchasableSkusRequest request = * ListPurchasableSkusRequest.newBuilder() @@ -6341,8 +6728,11 @@ public final ListPurchasableSkusPagedResponse listPurchasableSkus( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListPurchasableSkusRequest request = * ListPurchasableSkusRequest.newBuilder() @@ -6391,8 +6781,11 @@ public final ListPurchasableSkusPagedResponse listPurchasableSkus( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListPurchasableOffersRequest request = * ListPurchasableOffersRequest.newBuilder() @@ -6435,8 +6828,11 @@ public final ListPurchasableOffersPagedResponse listPurchasableOffers( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListPurchasableOffersRequest request = * ListPurchasableOffersRequest.newBuilder() @@ -6478,8 +6874,11 @@ public final ListPurchasableOffersPagedResponse listPurchasableOffers( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListPurchasableOffersRequest request = * ListPurchasableOffersRequest.newBuilder() @@ -6532,8 +6931,11 @@ public final ListPurchasableOffersPagedResponse listPurchasableOffers( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * RegisterSubscriberRequest request = * RegisterSubscriberRequest.newBuilder() @@ -6574,8 +6976,11 @@ public final RegisterSubscriberResponse registerSubscriber(RegisterSubscriberReq *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * RegisterSubscriberRequest request = * RegisterSubscriberRequest.newBuilder() @@ -6619,8 +7024,11 @@ public final RegisterSubscriberResponse registerSubscriber(RegisterSubscriberReq *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * UnregisterSubscriberRequest request = * UnregisterSubscriberRequest.newBuilder() @@ -6665,8 +7073,11 @@ public final UnregisterSubscriberResponse unregisterSubscriber( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * UnregisterSubscriberRequest request = * UnregisterSubscriberRequest.newBuilder() @@ -6708,8 +7119,11 @@ public final UnregisterSubscriberResponse unregisterSubscriber( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListSubscribersRequest request = * ListSubscribersRequest.newBuilder() @@ -6753,8 +7167,11 @@ public final ListSubscribersPagedResponse listSubscribers(ListSubscribersRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListSubscribersRequest request = * ListSubscribersRequest.newBuilder() @@ -6799,8 +7216,11 @@ public final ListSubscribersPagedResponse listSubscribers(ListSubscribersRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * ListSubscribersRequest request = * ListSubscribersRequest.newBuilder() diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java index b24873ce46f4..41e878871500 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java +++ b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java @@ -68,17 +68,17 @@ *For example, to set the total timeout of getCustomer to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * CloudChannelServiceSettings.Builder cloudChannelServiceSettingsBuilder = * CloudChannelServiceSettings.newBuilder(); * cloudChannelServiceSettingsBuilder * .getCustomerSettings() * .setRetrySettings( - * cloudChannelServiceSettingsBuilder - * .getCustomerSettings() - * .getRetrySettings() - * .toBuilder() + * cloudChannelServiceSettingsBuilder.getCustomerSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * CloudChannelServiceSettings cloudChannelServiceSettings = diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java index a3550d078f3d..1c6dcd3f347b 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java +++ b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java @@ -42,8 +42,11 @@ *Sample for CloudChannelServiceClient: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { * CustomerName name = CustomerName.of("[ACCOUNT]", "[CUSTOMER]"); * Customer response = cloudChannelServiceClient.getCustomer(name); diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java index 7e590995b334..0ee325089a01 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java +++ b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java @@ -163,17 +163,17 @@ *For example, to set the total timeout of getCustomer to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * CloudChannelServiceStubSettings.Builder cloudChannelServiceSettingsBuilder = * CloudChannelServiceStubSettings.newBuilder(); * cloudChannelServiceSettingsBuilder * .getCustomerSettings() * .setRetrySettings( - * cloudChannelServiceSettingsBuilder - * .getCustomerSettings() - * .getRetrySettings() - * .toBuilder() + * cloudChannelServiceSettingsBuilder.getCustomerSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * CloudChannelServiceStubSettings cloudChannelServiceSettings = diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java index ae5dbd5665a9..dc8daf35728c 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java +++ b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java @@ -245,7 +245,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build())) + .toBody("*", request.toBuilder().clearParent().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -283,7 +283,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("customer", request.getCustomer())) + .toBody("customer", request.getCustomer(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -323,7 +323,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("customer", request.getCustomer())) + .toBody("customer", request.getCustomer(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -395,7 +395,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build())) + .toBody("*", request.toBuilder().clearParent().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -432,7 +432,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearCustomer().build())) + .toBody("*", request.toBuilder().clearCustomer().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -508,7 +508,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build())) + .toBody("*", request.toBuilder().clearParent().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -547,7 +547,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build())) + .toBody("*", request.toBuilder().clearParent().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -616,7 +616,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build())) + .toBody("*", request.toBuilder().clearParent().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -655,7 +655,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -695,7 +695,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -734,7 +734,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -773,7 +773,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -812,7 +812,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -851,7 +851,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -890,7 +890,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -929,7 +929,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build())) + .toBody("*", request.toBuilder().clearParent().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -969,7 +969,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build())) + .toBody("*", request.toBuilder().clearParent().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1083,7 +1083,8 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("channelPartnerLink", request.getChannelPartnerLink())) + .toBody( + "channelPartnerLink", request.getChannelPartnerLink(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1120,7 +1121,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1237,7 +1238,8 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { ProtoRestSerializer.create() .toBody( "customerRepricingConfig", - request.getCustomerRepricingConfig())) + request.getCustomerRepricingConfig(), + false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1281,7 +1283,8 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { ProtoRestSerializer.create() .toBody( "customerRepricingConfig", - request.getCustomerRepricingConfig())) + request.getCustomerRepricingConfig(), + false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1438,7 +1441,8 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { ProtoRestSerializer.create() .toBody( "channelPartnerRepricingConfig", - request.getChannelPartnerRepricingConfig())) + request.getChannelPartnerRepricingConfig(), + false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1484,7 +1488,8 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { ProtoRestSerializer.create() .toBody( "channelPartnerRepricingConfig", - request.getChannelPartnerRepricingConfig())) + request.getChannelPartnerRepricingConfig(), + false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1789,7 +1794,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearAccount().build())) + .toBody("*", request.toBuilder().clearAccount().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1827,7 +1832,7 @@ public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearAccount().build())) + .toBody("*", request.toBuilder().clearAccount().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java index bc9ce40643f1..d6f122eb7dd7 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlement.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncActivateEntitlement() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ActivateEntitlementRequest request = ActivateEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java index ec97ce4b957d..5d95e6db1e55 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/AsyncActivateEntitlementLRO.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncActivateEntitlementLRO() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ActivateEntitlementRequest request = ActivateEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java index 63ca943110f8..2f1d78134446 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/activateentitlement/SyncActivateEntitlement.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncActivateEntitlement() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ActivateEntitlementRequest request = ActivateEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java index e9cd8ed739e0..a597341434bc 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlement.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCancelEntitlement() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CancelEntitlementRequest request = CancelEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java index 85c6dcc9d8aa..e85b456de423 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/AsyncCancelEntitlementLRO.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCancelEntitlementLRO() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CancelEntitlementRequest request = CancelEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java index 8c2557e95e95..0919a67471af 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCancelEntitlement() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CancelEntitlementRequest request = CancelEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java index 1f995d3a883a..a953737886b3 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOffer.java @@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception { } public static void asyncChangeOffer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChangeOfferRequest request = ChangeOfferRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java index 676187406277..2a9d739578a3 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/AsyncChangeOfferLRO.java @@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception { } public static void asyncChangeOfferLRO() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChangeOfferRequest request = ChangeOfferRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java index eaa1b89f2454..7d25eddacd4c 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeoffer/SyncChangeOffer.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void syncChangeOffer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChangeOfferRequest request = ChangeOfferRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java index 97bc9d5272a9..cb60a83ed1cf 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParameters.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncChangeParameters() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChangeParametersRequest request = ChangeParametersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java index 5f3f0e245b16..f07224bf72ed 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/AsyncChangeParametersLRO.java @@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception { } public static void asyncChangeParametersLRO() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChangeParametersRequest request = ChangeParametersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java index cbc1eb15d316..eadaac563ff3 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changeparameters/SyncChangeParameters.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void syncChangeParameters() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChangeParametersRequest request = ChangeParametersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java index 25a6ccd2c5c3..57aa7764c3a0 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettings.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncChangeRenewalSettings() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChangeRenewalSettingsRequest request = ChangeRenewalSettingsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java index d762ebb1fd09..598a303b26e4 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncChangeRenewalSettingsLRO() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChangeRenewalSettingsRequest request = ChangeRenewalSettingsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java index ef9664293e59..88584a85f6d0 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/changerenewalsettings/SyncChangeRenewalSettings.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncChangeRenewalSettings() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChangeRenewalSettingsRequest request = ChangeRenewalSettingsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java index be5b3c6df54b..1d817e083b15 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCheckCloudIdentityAccountsExist() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CheckCloudIdentityAccountsExistRequest request = CheckCloudIdentityAccountsExistRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java index ad45e2bff742..f3b657b249fa 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCheckCloudIdentityAccountsExist() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CheckCloudIdentityAccountsExistRequest request = CheckCloudIdentityAccountsExistRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java index fcdf8010326f..02fe06b48dd8 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateSetCredentialsProvider() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library CloudChannelServiceSettings cloudChannelServiceSettings = CloudChannelServiceSettings.newBuilder() .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java index fb7c52898d27..d5274e68d949 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateSetCredentialsProvider1() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library CloudChannelServiceSettings cloudChannelServiceSettings = CloudChannelServiceSettings.newBuilder() .setTransportChannelProvider( diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java index 099f28c19450..8486d2777596 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/create/SyncCreateSetEndpoint.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateSetEndpoint() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library CloudChannelServiceSettings cloudChannelServiceSettings = CloudChannelServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); CloudChannelServiceClient cloudChannelServiceClient = diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java index 2c9bbba23f55..ba693353ee0d 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreateChannelPartnerLink() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CreateChannelPartnerLinkRequest request = CreateChannelPartnerLinkRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java index 74ebdc2c91b4..e87e2355f98a 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerlink/SyncCreateChannelPartnerLink.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateChannelPartnerLink() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CreateChannelPartnerLinkRequest request = CreateChannelPartnerLinkRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java index 328f3c22dbd3..6d0e77e14018 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreateChannelPartnerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CreateChannelPartnerRepricingConfigRequest request = CreateChannelPartnerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java index cc24deada404..278ac635ce73 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateChannelPartnerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CreateChannelPartnerRepricingConfigRequest request = CreateChannelPartnerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java index 41c1c8ba8660..5b2ed177170c 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { public static void syncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChannelPartnerLinkName parent = ChannelPartnerLinkName.of("[ACCOUNT]", "[CHANNEL_PARTNER_LINK]"); diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java index b767c81501fc..55eb8aeba2be 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { public static void syncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { String parent = ChannelPartnerLinkName.of("[ACCOUNT]", "[CHANNEL_PARTNER_LINK]").toString(); ChannelPartnerRepricingConfig channelPartnerRepricingConfig = diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java index dcd910487341..4e814d826019 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/AsyncCreateCustomer.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreateCustomer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CreateCustomerRequest request = CreateCustomerRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java index 3463e2acce44..be62a44004f9 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomer/SyncCreateCustomer.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateCustomer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CreateCustomerRequest request = CreateCustomerRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java index 0d8a616a9bce..683d2fc8e99e 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreateCustomerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CreateCustomerRepricingConfigRequest request = CreateCustomerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java index c162009acb02..f41e05969c70 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateCustomerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CreateCustomerRepricingConfigRequest request = CreateCustomerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java index 2589ae105285..38fe30004532 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { public static void syncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CustomerName parent = CustomerName.of("[ACCOUNT]", "[CUSTOMER]"); CustomerRepricingConfig customerRepricingConfig = diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java index a4da0c8fddad..2ccb8ff2ba91 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { public static void syncCreateCustomerRepricingConfigStringCustomerrepricingconfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { String parent = CustomerName.of("[ACCOUNT]", "[CUSTOMER]").toString(); CustomerRepricingConfig customerRepricingConfig = diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java index fcf358dd7071..5a977a937c18 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlement.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreateEntitlement() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CreateEntitlementRequest request = CreateEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java index 0e1e03cf953b..bdc5e627a4a5 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/AsyncCreateEntitlementLRO.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreateEntitlementLRO() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CreateEntitlementRequest request = CreateEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java index 4b19579d6ac0..0910e2c2611c 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createentitlement/SyncCreateEntitlement.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateEntitlement() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CreateEntitlementRequest request = CreateEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java index 8b76420eea13..93070f54ca25 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncDeleteChannelPartnerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { DeleteChannelPartnerRepricingConfigRequest request = DeleteChannelPartnerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java index c5c35ed25bef..52853fbeb3d5 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteChannelPartnerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { DeleteChannelPartnerRepricingConfigRequest request = DeleteChannelPartnerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java index 2a32c531e518..f465f58f4061 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { public static void syncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChannelPartnerRepricingConfigName name = ChannelPartnerRepricingConfigName.of( diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java index b0486e57282e..be31338349d9 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteChannelPartnerRepricingConfigString() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { String name = ChannelPartnerRepricingConfigName.of( diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java index 131d300bfb3b..3ac896f4706e 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/AsyncDeleteCustomer.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncDeleteCustomer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { DeleteCustomerRequest request = DeleteCustomerRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java index 0d22a5a33367..308c0ded3866 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteCustomer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { DeleteCustomerRequest request = DeleteCustomerRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java index 6644ef13712f..b3dbc5673d1e 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteCustomerCustomername() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CustomerName name = CustomerName.of("[ACCOUNT]", "[CUSTOMER]"); cloudChannelServiceClient.deleteCustomer(name); diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java index 21d7efe868ec..24258c14a5f1 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteCustomerString() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { String name = CustomerName.of("[ACCOUNT]", "[CUSTOMER]").toString(); cloudChannelServiceClient.deleteCustomer(name); diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java index c302f2a48e6e..67764833610b 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncDeleteCustomerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { DeleteCustomerRepricingConfigRequest request = DeleteCustomerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java index ffc3beca92f6..18c16b958440 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteCustomerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { DeleteCustomerRepricingConfigRequest request = DeleteCustomerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java index 5fcf12a05424..aff8e546d381 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { public static void syncDeleteCustomerRepricingConfigCustomerrepricingconfigname() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CustomerRepricingConfigName name = CustomerRepricingConfigName.of("[ACCOUNT]", "[CUSTOMER]", "[CUSTOMER_REPRICING_CONFIG]"); diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java index 8d1626ecdb6c..81e436616804 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteCustomerRepricingConfigString() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { String name = CustomerRepricingConfigName.of("[ACCOUNT]", "[CUSTOMER]", "[CUSTOMER_REPRICING_CONFIG]") diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java index d53eb0994fea..d5697ee6e401 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/AsyncGetChannelPartnerLink.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncGetChannelPartnerLink() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { GetChannelPartnerLinkRequest request = GetChannelPartnerLinkRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java index d311a735b2e2..7e4229f3ae62 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerlink/SyncGetChannelPartnerLink.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetChannelPartnerLink() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { GetChannelPartnerLinkRequest request = GetChannelPartnerLinkRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java index 98832a01997f..40f6ce6d131e 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncGetChannelPartnerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { GetChannelPartnerRepricingConfigRequest request = GetChannelPartnerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java index e7801a9bcfcd..76889109f9d1 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetChannelPartnerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { GetChannelPartnerRepricingConfigRequest request = GetChannelPartnerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java index 9eaa1a12aaa7..8b06a3278152 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { public static void syncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChannelPartnerRepricingConfigName name = ChannelPartnerRepricingConfigName.of( diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java index 6f3b5db6bedb..dd0d2b3d55a9 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetChannelPartnerRepricingConfigString() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { String name = ChannelPartnerRepricingConfigName.of( diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java index 7183a0196d62..b54e32026cb8 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/AsyncGetCustomer.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncGetCustomer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { GetCustomerRequest request = GetCustomerRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java index 6449dc8ae298..cb9d64c040cf 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomer.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetCustomer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { GetCustomerRequest request = GetCustomerRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java index 08f8d2886df1..df3becd1c6eb 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerCustomername.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetCustomerCustomername() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CustomerName name = CustomerName.of("[ACCOUNT]", "[CUSTOMER]"); Customer response = cloudChannelServiceClient.getCustomer(name); diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java index abc5bb7c7b35..7a22acbe025f 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomer/SyncGetCustomerString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetCustomerString() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { String name = CustomerName.of("[ACCOUNT]", "[CUSTOMER]").toString(); Customer response = cloudChannelServiceClient.getCustomer(name); diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java index 095e2c06a06b..148a7398a955 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncGetCustomerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { GetCustomerRepricingConfigRequest request = GetCustomerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java index 07791c0194e0..f745ebae1b47 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetCustomerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { GetCustomerRepricingConfigRequest request = GetCustomerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java index c93be54aca73..d93af3399e14 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetCustomerRepricingConfigCustomerrepricingconfigname() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CustomerRepricingConfigName name = CustomerRepricingConfigName.of("[ACCOUNT]", "[CUSTOMER]", "[CUSTOMER_REPRICING_CONFIG]"); diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java index a470000e3737..c81bfa767aff 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetCustomerRepricingConfigString() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { String name = CustomerRepricingConfigName.of("[ACCOUNT]", "[CUSTOMER]", "[CUSTOMER_REPRICING_CONFIG]") diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java index e6bb4ef0912c..ffef18a79208 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/AsyncGetEntitlement.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncGetEntitlement() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { GetEntitlementRequest request = GetEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java index 70b000cbc117..c95b01368273 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getentitlement/SyncGetEntitlement.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetEntitlement() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { GetEntitlementRequest request = GetEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java index ac49ebf4f786..1def6cfa3473 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/AsyncImportCustomer.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncImportCustomer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ImportCustomerRequest request = ImportCustomerRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java index ac83572bb1f1..4470bc6a5ffe 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/importcustomer/SyncImportCustomer.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncImportCustomer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ImportCustomerRequest request = ImportCustomerRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java index 4434f70afa63..22ef16faea3b 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListChannelPartnerLinks() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListChannelPartnerLinksRequest request = ListChannelPartnerLinksRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java index 7ebe77e6d704..74517c94ef41 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListChannelPartnerLinksPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListChannelPartnerLinksRequest request = ListChannelPartnerLinksRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java index aab6e47ae509..a3e4b010a3c7 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerlinks/SyncListChannelPartnerLinks.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncListChannelPartnerLinks() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListChannelPartnerLinksRequest request = ListChannelPartnerLinksRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java index 8ad0b3c8ca6b..6bae327db198 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListChannelPartnerRepricingConfigs() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListChannelPartnerRepricingConfigsRequest request = ListChannelPartnerRepricingConfigsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java index 1076e5d56214..00294e68222f 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListChannelPartnerRepricingConfigsPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListChannelPartnerRepricingConfigsRequest request = ListChannelPartnerRepricingConfigsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java index c2000f802e0a..cc3446d96bb1 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncListChannelPartnerRepricingConfigs() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListChannelPartnerRepricingConfigsRequest request = ListChannelPartnerRepricingConfigsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java index 182184a844de..bf904d51acf5 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { public static void syncListChannelPartnerRepricingConfigsChannelpartnerlinkname() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChannelPartnerLinkName parent = ChannelPartnerLinkName.of("[ACCOUNT]", "[CHANNEL_PARTNER_LINK]"); diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java index 3baa99964282..a004388200b1 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListChannelPartnerRepricingConfigsString() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { String parent = ChannelPartnerLinkName.of("[ACCOUNT]", "[CHANNEL_PARTNER_LINK]").toString(); for (ChannelPartnerRepricingConfig element : diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java index 30cc933aacca..bd202f76e862 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListCustomerRepricingConfigs() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListCustomerRepricingConfigsRequest request = ListCustomerRepricingConfigsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java index b53eb7af451c..f6dceb1e82ac 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListCustomerRepricingConfigsPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListCustomerRepricingConfigsRequest request = ListCustomerRepricingConfigsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java index fff456de61c7..109923922f4b 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncListCustomerRepricingConfigs() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListCustomerRepricingConfigsRequest request = ListCustomerRepricingConfigsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java index cf33c84d9b47..b6ddaf37f711 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListCustomerRepricingConfigsCustomername() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CustomerName parent = CustomerName.of("[ACCOUNT]", "[CUSTOMER]"); for (CustomerRepricingConfig element : diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java index 45b8377a4043..30775f80bf00 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListCustomerRepricingConfigsString() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { String parent = CustomerName.of("[ACCOUNT]", "[CUSTOMER]").toString(); for (CustomerRepricingConfig element : diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java index e625f55a3ce0..4187db3f6dfc 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomers.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListCustomers() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListCustomersRequest request = ListCustomersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java index b55fffb49009..2bbe8ef59787 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/AsyncListCustomersPaged.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListCustomersPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListCustomersRequest request = ListCustomersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java index 0d97749dfa3a..d91a1fa9fca3 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomers/SyncListCustomers.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListCustomers() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListCustomersRequest request = ListCustomersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java index 42232a505774..a28a537fcda3 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlements.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListEntitlements() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListEntitlementsRequest request = ListEntitlementsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java index efc1a84d16db..97409af0ef23 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/AsyncListEntitlementsPaged.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListEntitlementsPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListEntitlementsRequest request = ListEntitlementsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java index 3b87cd15f03d..a1696c977b50 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listentitlements/SyncListEntitlements.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncListEntitlements() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListEntitlementsRequest request = ListEntitlementsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java index 11ce1b3ed4a7..cb88453c43fd 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffers.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListOffers() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListOffersRequest request = ListOffersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java index 35a40dd151d2..117a45ea4d66 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/AsyncListOffersPaged.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListOffersPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListOffersRequest request = ListOffersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java index 89a731eb313d..4a9d5039ab29 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listoffers/SyncListOffers.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListOffers() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListOffersRequest request = ListOffersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java index 4d3374b56bfb..f24575522ffd 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProducts.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListProducts() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListProductsRequest request = ListProductsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java index 9611632a4711..dcdc2401c0a9 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/AsyncListProductsPaged.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListProductsPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListProductsRequest request = ListProductsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java index db37f7ed1c8d..1cbfa34a3a74 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listproducts/SyncListProducts.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListProducts() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListProductsRequest request = ListProductsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java index a2a8fd2796cf..31c8cd1633d6 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffers.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListPurchasableOffers() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListPurchasableOffersRequest request = ListPurchasableOffersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java index 60b217fa00d3..25e406c1949a 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/AsyncListPurchasableOffersPaged.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListPurchasableOffersPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListPurchasableOffersRequest request = ListPurchasableOffersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java index dada7f3c070d..ce50adb1dae6 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableoffers/SyncListPurchasableOffers.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncListPurchasableOffers() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListPurchasableOffersRequest request = ListPurchasableOffersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java index 0c0825524ac3..e5df6dfe2d42 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkus.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListPurchasableSkus() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListPurchasableSkusRequest request = ListPurchasableSkusRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java index 63a1ee93808e..d1462c7da64c 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/AsyncListPurchasableSkusPaged.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListPurchasableSkusPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListPurchasableSkusRequest request = ListPurchasableSkusRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java index 2d4f325e1a00..79f072b761aa 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listpurchasableskus/SyncListPurchasableSkus.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncListPurchasableSkus() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListPurchasableSkusRequest request = ListPurchasableSkusRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java index 64c6e9dd1d7b..262cbefef3bc 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkus.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListSkus() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListSkusRequest request = ListSkusRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java index 075496cc4cf9..a4d07ccdc319 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/AsyncListSkusPaged.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListSkusPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListSkusRequest request = ListSkusRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java index 633c9b8bad8b..03613d86f962 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listskus/SyncListSkus.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncListSkus() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListSkusRequest request = ListSkusRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java index 93fac85a6cf4..2fe85982e731 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribers.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListSubscribers() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListSubscribersRequest request = ListSubscribersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java index a30b4b105b1f..c3bd6f4ffa67 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/AsyncListSubscribersPaged.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListSubscribersPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListSubscribersRequest request = ListSubscribersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java index d0af0cd6fb59..30a16dc317f5 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listsubscribers/SyncListSubscribers.java @@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception { } public static void syncListSubscribers() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListSubscribersRequest request = ListSubscribersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java index c4b40b0f63da..5e4a63e25971 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffers.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListTransferableOffers() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListTransferableOffersRequest request = ListTransferableOffersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java index f9f600fc2d85..95b89ebcf13a 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/AsyncListTransferableOffersPaged.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListTransferableOffersPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListTransferableOffersRequest request = ListTransferableOffersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java index 773805a81f43..5c11f0d08908 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableoffers/SyncListTransferableOffers.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListTransferableOffers() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListTransferableOffersRequest request = ListTransferableOffersRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java index 92fcd2e1cbd3..f5adf33fb1c6 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkus.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListTransferableSkus() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListTransferableSkusRequest request = ListTransferableSkusRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java index 64cc11e8a784..b0020c93de3a 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/AsyncListTransferableSkusPaged.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListTransferableSkusPaged() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListTransferableSkusRequest request = ListTransferableSkusRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java index 6f671d83ef90..cb098e321534 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listtransferableskus/SyncListTransferableSkus.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListTransferableSkus() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ListTransferableSkusRequest request = ListTransferableSkusRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java index 8a63878fc220..9438985a9f35 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/AsyncLookupOffer.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncLookupOffer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { LookupOfferRequest request = LookupOfferRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java index eb545faedf4c..8d65d9856d01 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/lookupoffer/SyncLookupOffer.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncLookupOffer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { LookupOfferRequest request = LookupOfferRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java index 387650aa2375..7f6513c5a9c4 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentity.java @@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception { } public static void asyncProvisionCloudIdentity() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ProvisionCloudIdentityRequest request = ProvisionCloudIdentityRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java index 4f23148ea3af..296f0775b81f 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java @@ -33,8 +33,11 @@ public static void main(String[] args) throws Exception { } public static void asyncProvisionCloudIdentityLRO() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ProvisionCloudIdentityRequest request = ProvisionCloudIdentityRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java index 1073e85df5e0..4183138d40c2 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/provisioncloudidentity/SyncProvisionCloudIdentity.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void syncProvisionCloudIdentity() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ProvisionCloudIdentityRequest request = ProvisionCloudIdentityRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java index 1cbe483538ff..866b8445edb8 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/AsyncRegisterSubscriber.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncRegisterSubscriber() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { RegisterSubscriberRequest request = RegisterSubscriberRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java index 8eb8f4ba2b05..ceb54703485a 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/registersubscriber/SyncRegisterSubscriber.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncRegisterSubscriber() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { RegisterSubscriberRequest request = RegisterSubscriberRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java index 5424bc2d10b6..2bb3a237d258 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidService.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncStartPaidService() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { StartPaidServiceRequest request = StartPaidServiceRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java index 9bbc15a7276e..1722e8ae9746 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/AsyncStartPaidServiceLRO.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncStartPaidServiceLRO() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { StartPaidServiceRequest request = StartPaidServiceRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java index 3c629f194158..b210b140e784 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/startpaidservice/SyncStartPaidService.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncStartPaidService() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { StartPaidServiceRequest request = StartPaidServiceRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java index fe2a35fab950..c5abcc0b48bc 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlement.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncSuspendEntitlement() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { SuspendEntitlementRequest request = SuspendEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java index 5ed86bdc423a..c1018f19c99e 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/AsyncSuspendEntitlementLRO.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncSuspendEntitlementLRO() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { SuspendEntitlementRequest request = SuspendEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java index a9fd11536ecb..6a1c8c7e96e8 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/suspendentitlement/SyncSuspendEntitlement.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncSuspendEntitlement() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { SuspendEntitlementRequest request = SuspendEntitlementRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java index 45656000c9b4..e9372f169252 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlements.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncTransferEntitlements() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { TransferEntitlementsRequest request = TransferEntitlementsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java index 9509f38aa779..e8a738489c4d 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/AsyncTransferEntitlementsLRO.java @@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception { } public static void asyncTransferEntitlementsLRO() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { TransferEntitlementsRequest request = TransferEntitlementsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java index f846e0ef70f2..d4617a7b864b 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlements/SyncTransferEntitlements.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void syncTransferEntitlements() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { TransferEntitlementsRequest request = TransferEntitlementsRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java index d19a23d03770..e10ac20e8a03 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncTransferEntitlementsToGoogle() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { TransferEntitlementsToGoogleRequest request = TransferEntitlementsToGoogleRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java index 25a1b4504249..ea045680648d 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java @@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception { } public static void asyncTransferEntitlementsToGoogleLRO() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { TransferEntitlementsToGoogleRequest request = TransferEntitlementsToGoogleRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java index c157acbad68a..a31ab3b2a002 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void syncTransferEntitlementsToGoogle() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { TransferEntitlementsToGoogleRequest request = TransferEntitlementsToGoogleRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java index 4feebd9267dc..66cf66e51f1b 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/AsyncUnregisterSubscriber.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUnregisterSubscriber() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { UnregisterSubscriberRequest request = UnregisterSubscriberRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java index e2161669639b..b682934aa855 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/unregistersubscriber/SyncUnregisterSubscriber.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncUnregisterSubscriber() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { UnregisterSubscriberRequest request = UnregisterSubscriberRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java index bc126e7d89b6..724e014ec4ee 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUpdateChannelPartnerLink() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { UpdateChannelPartnerLinkRequest request = UpdateChannelPartnerLinkRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java index fa975027508f..6e8396d29c92 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateChannelPartnerLink() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { UpdateChannelPartnerLinkRequest request = UpdateChannelPartnerLinkRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java index caf4e2c82a71..8ca2b32005e4 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUpdateChannelPartnerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { UpdateChannelPartnerRepricingConfigRequest request = UpdateChannelPartnerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java index 8c668318e8bd..6886ef0cde8b 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateChannelPartnerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { UpdateChannelPartnerRepricingConfigRequest request = UpdateChannelPartnerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java index a1a83e4f9628..7a84bb6ba01d 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { public static void syncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { ChannelPartnerRepricingConfig channelPartnerRepricingConfig = ChannelPartnerRepricingConfig.newBuilder().build(); diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java index 70490463274d..028c69d942c3 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/AsyncUpdateCustomer.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUpdateCustomer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { UpdateCustomerRequest request = UpdateCustomerRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java index 16822c20566b..e84120ea00a9 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomer/SyncUpdateCustomer.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateCustomer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { UpdateCustomerRequest request = UpdateCustomerRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java index d7b48d1681e9..97e40620828a 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUpdateCustomerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { UpdateCustomerRepricingConfigRequest request = UpdateCustomerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java index f01f975cffcd..7fcb1c07e129 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateCustomerRepricingConfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { UpdateCustomerRepricingConfigRequest request = UpdateCustomerRepricingConfigRequest.newBuilder() diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java index 38e1297d88b6..cbcdd1ce811e 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java @@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateCustomerRepricingConfigCustomerrepricingconfig() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library try (CloudChannelServiceClient cloudChannelServiceClient = CloudChannelServiceClient.create()) { CustomerRepricingConfig customerRepricingConfig = CustomerRepricingConfig.newBuilder().build(); diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java index 095055adc339..0be6cacd288f 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java @@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception { } public static void syncGetCustomer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library CloudChannelServiceSettings.Builder cloudChannelServiceSettingsBuilder = CloudChannelServiceSettings.newBuilder(); cloudChannelServiceSettingsBuilder .getCustomerSettings() .setRetrySettings( - cloudChannelServiceSettingsBuilder - .getCustomerSettings() - .getRetrySettings() - .toBuilder() + cloudChannelServiceSettingsBuilder.getCustomerSettings().getRetrySettings().toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); CloudChannelServiceSettings cloudChannelServiceSettings = diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java index 0640fd6f372f..106e05e72075 100644 --- a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java +++ b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java @@ -27,17 +27,17 @@ public static void main(String[] args) throws Exception { } public static void syncGetCustomer() throws Exception { - // This snippet has been automatically generated for illustrative purposes only. - // It may require modifications to work in your environment. + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library CloudChannelServiceStubSettings.Builder cloudChannelServiceSettingsBuilder = CloudChannelServiceStubSettings.newBuilder(); cloudChannelServiceSettingsBuilder .getCustomerSettings() .setRetrySettings( - cloudChannelServiceSettingsBuilder - .getCustomerSettings() - .getRetrySettings() - .toBuilder() + cloudChannelServiceSettingsBuilder.getCustomerSettings().getRetrySettings().toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); CloudChannelServiceStubSettings cloudChannelServiceSettings =