From 12e4cde55444bb6b70ebeac9a33c9e9e2a816163 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 20 Sep 2022 14:04:19 +0000 Subject: [PATCH] chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#350) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 472750037 Source-Link: https://github.com/googleapis/googleapis/commit/88f2ea3f53b9712f2e04f28f06210f6f77fa7e24 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9 --- .../v1/ContactCenterInsightsClient.java | 1008 ++++++++++++----- .../v1/ContactCenterInsightsSettings.java | 7 +- .../v1/package-info.java | 7 +- .../ContactCenterInsightsStubSettings.java | 7 +- .../HttpJsonContactCenterInsightsStub.java | 31 +- .../AsyncCalculateIssueModelStats.java | 7 +- .../SyncCalculateIssueModelStats.java | 7 +- ...alculateIssueModelStatsIssuemodelname.java | 7 +- .../SyncCalculateIssueModelStatsString.java | 7 +- .../calculatestats/AsyncCalculateStats.java | 7 +- .../calculatestats/SyncCalculateStats.java | 7 +- .../SyncCalculateStatsLocationname.java | 7 +- .../SyncCalculateStatsString.java | 7 +- .../SyncCreateSetCredentialsProvider.java | 7 +- .../SyncCreateSetCredentialsProvider1.java | 7 +- .../create/SyncCreateSetEndpoint.java | 7 +- .../createanalysis/AsyncCreateAnalysis.java | 7 +- .../AsyncCreateAnalysisLRO.java | 7 +- .../createanalysis/SyncCreateAnalysis.java | 7 +- ...reateAnalysisConversationnameAnalysis.java | 7 +- .../SyncCreateAnalysisStringAnalysis.java | 7 +- .../AsyncCreateConversation.java | 7 +- .../SyncCreateConversation.java | 7 +- ...rsationLocationnameConversationString.java | 7 +- ...eConversationStringConversationString.java | 7 +- .../AsyncCreateIssueModel.java | 7 +- .../AsyncCreateIssueModelLRO.java | 7 +- .../SyncCreateIssueModel.java | 7 +- ...reateIssueModelLocationnameIssuemodel.java | 7 +- .../SyncCreateIssueModelStringIssuemodel.java | 7 +- .../AsyncCreatePhraseMatcher.java | 7 +- .../SyncCreatePhraseMatcher.java | 7 +- ...hraseMatcherLocationnamePhrasematcher.java | 7 +- ...reatePhraseMatcherStringPhrasematcher.java | 7 +- .../createview/AsyncCreateView.java | 7 +- .../createview/SyncCreateView.java | 7 +- .../SyncCreateViewLocationnameView.java | 7 +- .../createview/SyncCreateViewStringView.java | 7 +- .../deleteanalysis/AsyncDeleteAnalysis.java | 7 +- .../deleteanalysis/SyncDeleteAnalysis.java | 7 +- .../SyncDeleteAnalysisAnalysisname.java | 7 +- .../SyncDeleteAnalysisString.java | 7 +- .../AsyncDeleteConversation.java | 7 +- .../SyncDeleteConversation.java | 7 +- ...yncDeleteConversationConversationname.java | 7 +- .../SyncDeleteConversationString.java | 7 +- .../AsyncDeleteIssueModel.java | 7 +- .../AsyncDeleteIssueModelLRO.java | 7 +- .../SyncDeleteIssueModel.java | 7 +- .../SyncDeleteIssueModelIssuemodelname.java | 7 +- .../SyncDeleteIssueModelString.java | 7 +- .../AsyncDeletePhraseMatcher.java | 7 +- .../SyncDeletePhraseMatcher.java | 7 +- ...cDeletePhraseMatcherPhrasematchername.java | 7 +- .../SyncDeletePhraseMatcherString.java | 7 +- .../deleteview/AsyncDeleteView.java | 7 +- .../deleteview/SyncDeleteView.java | 7 +- .../deleteview/SyncDeleteViewString.java | 7 +- .../deleteview/SyncDeleteViewViewname.java | 7 +- .../AsyncDeployIssueModel.java | 7 +- .../AsyncDeployIssueModelLRO.java | 7 +- .../SyncDeployIssueModel.java | 7 +- .../SyncDeployIssueModelIssuemodelname.java | 7 +- .../SyncDeployIssueModelString.java | 7 +- .../AsyncExportInsightsData.java | 7 +- .../AsyncExportInsightsDataLRO.java | 7 +- .../SyncExportInsightsData.java | 7 +- .../SyncExportInsightsDataLocationname.java | 7 +- .../SyncExportInsightsDataString.java | 7 +- .../getanalysis/AsyncGetAnalysis.java | 7 +- .../getanalysis/SyncGetAnalysis.java | 7 +- .../SyncGetAnalysisAnalysisname.java | 7 +- .../getanalysis/SyncGetAnalysisString.java | 7 +- .../getconversation/AsyncGetConversation.java | 7 +- .../getconversation/SyncGetConversation.java | 7 +- .../SyncGetConversationConversationname.java | 7 +- .../SyncGetConversationString.java | 7 +- .../getissue/AsyncGetIssue.java | 7 +- .../getissue/SyncGetIssue.java | 7 +- .../getissue/SyncGetIssueIssuename.java | 7 +- .../getissue/SyncGetIssueString.java | 7 +- .../getissuemodel/AsyncGetIssueModel.java | 7 +- .../getissuemodel/SyncGetIssueModel.java | 7 +- .../SyncGetIssueModelIssuemodelname.java | 7 +- .../SyncGetIssueModelString.java | 7 +- .../AsyncGetPhraseMatcher.java | 7 +- .../SyncGetPhraseMatcher.java | 7 +- ...SyncGetPhraseMatcherPhrasematchername.java | 7 +- .../SyncGetPhraseMatcherString.java | 7 +- .../getsettings/AsyncGetSettings.java | 7 +- .../getsettings/SyncGetSettings.java | 7 +- .../SyncGetSettingsSettingsname.java | 7 +- .../getsettings/SyncGetSettingsString.java | 7 +- .../getview/AsyncGetView.java | 7 +- .../getview/SyncGetView.java | 7 +- .../getview/SyncGetViewString.java | 7 +- .../getview/SyncGetViewViewname.java | 7 +- .../listanalyses/AsyncListAnalyses.java | 7 +- .../listanalyses/AsyncListAnalysesPaged.java | 7 +- .../listanalyses/SyncListAnalyses.java | 7 +- .../SyncListAnalysesConversationname.java | 7 +- .../listanalyses/SyncListAnalysesString.java | 7 +- .../AsyncListConversations.java | 7 +- .../AsyncListConversationsPaged.java | 7 +- .../SyncListConversations.java | 7 +- .../SyncListConversationsLocationname.java | 7 +- .../SyncListConversationsString.java | 7 +- .../listissuemodels/AsyncListIssueModels.java | 7 +- .../listissuemodels/SyncListIssueModels.java | 7 +- .../SyncListIssueModelsLocationname.java | 7 +- .../SyncListIssueModelsString.java | 7 +- .../listissues/AsyncListIssues.java | 7 +- .../listissues/SyncListIssues.java | 7 +- .../SyncListIssuesIssuemodelname.java | 7 +- .../listissues/SyncListIssuesString.java | 7 +- .../AsyncListPhraseMatchers.java | 7 +- .../AsyncListPhraseMatchersPaged.java | 7 +- .../SyncListPhraseMatchers.java | 7 +- .../SyncListPhraseMatchersLocationname.java | 7 +- .../SyncListPhraseMatchersString.java | 7 +- .../listviews/AsyncListViews.java | 7 +- .../listviews/AsyncListViewsPaged.java | 7 +- .../listviews/SyncListViews.java | 7 +- .../listviews/SyncListViewsLocationname.java | 7 +- .../listviews/SyncListViewsString.java | 7 +- .../AsyncUndeployIssueModel.java | 7 +- .../AsyncUndeployIssueModelLRO.java | 7 +- .../SyncUndeployIssueModel.java | 7 +- .../SyncUndeployIssueModelIssuemodelname.java | 7 +- .../SyncUndeployIssueModelString.java | 7 +- .../AsyncUpdateConversation.java | 7 +- .../SyncUpdateConversation.java | 7 +- ...dateConversationConversationFieldmask.java | 7 +- .../updateissue/AsyncUpdateIssue.java | 7 +- .../updateissue/SyncUpdateIssue.java | 7 +- .../SyncUpdateIssueIssueFieldmask.java | 7 +- .../AsyncUpdateIssueModel.java | 7 +- .../SyncUpdateIssueModel.java | 7 +- ...ncUpdateIssueModelIssuemodelFieldmask.java | 7 +- .../AsyncUpdatePhraseMatcher.java | 7 +- .../SyncUpdatePhraseMatcher.java | 7 +- ...tePhraseMatcherPhrasematcherFieldmask.java | 7 +- .../updatesettings/AsyncUpdateSettings.java | 7 +- .../updatesettings/SyncUpdateSettings.java | 7 +- .../SyncUpdateSettingsSettingsFieldmask.java | 7 +- .../updateview/AsyncUpdateView.java | 7 +- .../updateview/SyncUpdateView.java | 7 +- .../SyncUpdateViewViewFieldmask.java | 7 +- .../SyncCreateConversation.java | 7 +- .../SyncCreateConversation.java | 7 +- 150 files changed, 1477 insertions(+), 598 deletions(-) diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java index 38dffd0e1610..f309d5c7a5c4 100644 --- a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java +++ b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java @@ -47,8 +47,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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -89,8 +92,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 * ContactCenterInsightsSettings contactCenterInsightsSettings = * ContactCenterInsightsSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -102,8 +108,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 * ContactCenterInsightsSettings contactCenterInsightsSettings = * ContactCenterInsightsSettings.newBuilder().setEndpoint(myEndpoint).build(); * ContactCenterInsightsClient contactCenterInsightsClient = @@ -114,8 +123,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 * ContactCenterInsightsSettings contactCenterInsightsSettings = * ContactCenterInsightsSettings.newBuilder() * .setTransportChannelProvider( @@ -209,8 +221,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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -248,8 +263,11 @@ public final Conversation createConversation( *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -287,8 +305,11 @@ public final Conversation createConversation( *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateConversationRequest request = @@ -315,8 +336,11 @@ public final Conversation createConversation(CreateConversationRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateConversationRequest request = @@ -343,8 +367,11 @@ public final UnaryCallablecreateConver * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * Conversation conversation = Conversation.newBuilder().build(); @@ -374,8 +401,11 @@ public final Conversation updateConversation(Conversation conversation, FieldMas *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateConversationRequest request = @@ -401,8 +431,11 @@ public final Conversation updateConversation(UpdateConversationRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateConversationRequest request = @@ -428,8 +461,11 @@ public final UnaryCallableupdateConver * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ConversationName name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); @@ -453,8 +489,11 @@ public final Conversation getConversation(ConversationName 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); @@ -477,8 +516,11 @@ public final Conversation getConversation(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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetConversationRequest request = @@ -504,8 +546,11 @@ public final Conversation getConversation(GetConversationRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetConversationRequest request = @@ -531,8 +576,11 @@ public final UnaryCallablegetConversation * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -561,8 +609,11 @@ public final ListConversationsPagedResponse listConversations(LocationName paren *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -589,8 +640,11 @@ public final ListConversationsPagedResponse listConversations(String parent) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListConversationsRequest request = @@ -622,8 +676,11 @@ public final ListConversationsPagedResponse listConversations(ListConversationsR *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListConversationsRequest request = @@ -655,8 +712,11 @@ public final ListConversationsPagedResponse listConversations(ListConversationsR *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListConversationsRequest request = @@ -695,8 +755,11 @@ public final ListConversationsPagedResponse listConversations(ListConversationsR *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ConversationName name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); @@ -722,8 +785,11 @@ public final void deleteConversation(ConversationName 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); @@ -747,8 +813,11 @@ public final void deleteConversation(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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteConversationRequest request = @@ -774,8 +843,11 @@ public final void deleteConversation(DeleteConversationRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteConversationRequest request = @@ -801,8 +873,11 @@ public final UnaryCallabledeleteConversationC * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ConversationName parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); @@ -832,8 +907,11 @@ public final OperationFuturecreateAn * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); @@ -860,8 +938,11 @@ public final OperationFuturecreateAn * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateAnalysisRequest request = @@ -889,8 +970,11 @@ public final OperationFuturecreateAn * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateAnalysisRequest request = @@ -918,8 +1002,11 @@ public final OperationFuturecreateAn * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateAnalysisRequest request = @@ -946,8 +1033,11 @@ public final UnaryCallablecreateAnalysisCalla * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * AnalysisName name = @@ -972,8 +1062,11 @@ public final Analysis getAnalysis(AnalysisName 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = @@ -997,8 +1090,11 @@ public final Analysis getAnalysis(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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetAnalysisRequest request = @@ -1025,8 +1121,11 @@ public final Analysis getAnalysis(GetAnalysisRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetAnalysisRequest request = @@ -1053,8 +1152,11 @@ public final UnaryCallablegetAnalysisCallable() { * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ConversationName parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); @@ -1082,8 +1184,11 @@ public final ListAnalysesPagedResponse listAnalyses(ConversationName parent) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); @@ -1108,8 +1213,11 @@ public final ListAnalysesPagedResponse listAnalyses(String parent) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListAnalysesRequest request = @@ -1140,8 +1248,11 @@ public final ListAnalysesPagedResponse listAnalyses(ListAnalysesRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListAnalysesRequest request = @@ -1173,8 +1284,11 @@ public final ListAnalysesPagedResponse listAnalyses(ListAnalysesRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListAnalysesRequest request = @@ -1212,8 +1326,11 @@ public final UnaryCallablelistAnalys * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * AnalysisName name = @@ -1238,8 +1355,11 @@ public final void deleteAnalysis(AnalysisName 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = @@ -1263,8 +1383,11 @@ public final void deleteAnalysis(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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteAnalysisRequest request = @@ -1291,8 +1414,11 @@ public final void deleteAnalysis(DeleteAnalysisRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteAnalysisRequest request = @@ -1319,8 +1445,11 @@ public final UnaryCallabledeleteAnalysisCallable( * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -1348,8 +1477,11 @@ public final UnaryCallabledeleteAnalysisCallable( * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -1375,8 +1507,11 @@ public final UnaryCallabledeleteAnalysisCallable( * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ExportInsightsDataRequest request = @@ -1405,8 +1540,11 @@ public final UnaryCallabledeleteAnalysisCallable( * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ExportInsightsDataRequest request = @@ -1435,8 +1573,11 @@ public final UnaryCallabledeleteAnalysisCallable( * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ExportInsightsDataRequest request = @@ -1463,8 +1604,11 @@ public final UnaryCallableexportInsightsD * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -1495,8 +1639,11 @@ public final OperationFuturecreateIssueMo * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -1524,8 +1671,11 @@ public final OperationFuturecreateIssueMo * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateIssueModelRequest request = @@ -1552,8 +1702,11 @@ public final OperationFuturecreateIssueMo * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateIssueModelRequest request = @@ -1580,8 +1733,11 @@ public final OperationFuturecreateIssueMo * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateIssueModelRequest request = @@ -1607,8 +1763,11 @@ public final UnaryCallablecreateIssueModelC * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueModel issueModel = IssueModel.newBuilder().build(); @@ -1637,8 +1796,11 @@ public final IssueModel updateIssueModel(IssueModel issueModel, FieldMask update *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateIssueModelRequest request = @@ -1664,8 +1826,11 @@ public final IssueModel updateIssueModel(UpdateIssueModelRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateIssueModelRequest request = @@ -1691,8 +1856,11 @@ public final UnaryCallableupdateIssueModel * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); @@ -1716,8 +1884,11 @@ public final IssueModel getIssueModel(IssueModelName 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); @@ -1740,8 +1911,11 @@ public final IssueModel getIssueModel(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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetIssueModelRequest request = @@ -1766,8 +1940,11 @@ public final IssueModel getIssueModel(GetIssueModelRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetIssueModelRequest request = @@ -1792,8 +1969,11 @@ public final UnaryCallablegetIssueModelCallab * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -1819,8 +1999,11 @@ public final ListIssueModelsResponse listIssueModels(LocationName parent) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -1843,8 +2026,11 @@ public final ListIssueModelsResponse listIssueModels(String parent) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListIssueModelsRequest request = @@ -1869,8 +2055,11 @@ public final ListIssueModelsResponse listIssueModels(ListIssueModelsRequest requ *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListIssueModelsRequest request = @@ -1896,8 +2085,11 @@ public final ListIssueModelsResponse listIssueModels(ListIssueModelsRequest requ *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); @@ -1922,8 +2114,11 @@ public final OperationFuturedeleteIssueModelAs * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); @@ -1946,8 +2141,11 @@ public final OperationFuturedeleteIssueModelAs * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteIssueModelRequest request = @@ -1973,8 +2171,11 @@ public final OperationFuturedeleteIssueModelAs * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteIssueModelRequest request = @@ -2000,8 +2201,11 @@ public final OperationFuturedeleteIssueModelAs * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteIssueModelRequest request = @@ -2027,8 +2231,11 @@ public final UnaryCallabledeleteIssueModelC * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); @@ -2055,8 +2262,11 @@ public final UnaryCallabledeleteIssueModelC * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); @@ -2082,8 +2292,11 @@ public final UnaryCallabledeleteIssueModelC * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeployIssueModelRequest request = @@ -2111,8 +2324,11 @@ public final UnaryCallabledeleteIssueModelC * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeployIssueModelRequest request = @@ -2140,8 +2356,11 @@ public final UnaryCallabledeleteIssueModelC * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeployIssueModelRequest request = @@ -2167,8 +2386,11 @@ public final UnaryCallabledeployIssueModelC * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); @@ -2197,8 +2419,11 @@ public final UnaryCallabledeployIssueModelC * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); @@ -2225,8 +2450,11 @@ public final UnaryCallabledeployIssueModelC * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UndeployIssueModelRequest request = @@ -2254,8 +2482,11 @@ public final UnaryCallabledeployIssueModelC * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UndeployIssueModelRequest request = @@ -2283,8 +2514,11 @@ public final UnaryCallabledeployIssueModelC * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UndeployIssueModelRequest request = @@ -2309,8 +2543,11 @@ public final UnaryCallableundeployIssueMo * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueName name = IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); @@ -2334,8 +2571,11 @@ public final Issue getIssue(IssueName 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString(); @@ -2358,8 +2598,11 @@ public final Issue getIssue(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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetIssueRequest request = @@ -2385,8 +2628,11 @@ public final Issue getIssue(GetIssueRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetIssueRequest request = @@ -2411,8 +2657,11 @@ public final UnaryCallablegetIssueCallable() { * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueModelName parent = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); @@ -2436,8 +2685,11 @@ public final ListIssuesResponse listIssues(IssueModelName parent) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); @@ -2460,8 +2712,11 @@ public final ListIssuesResponse listIssues(String parent) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListIssuesRequest request = @@ -2486,8 +2741,11 @@ public final ListIssuesResponse listIssues(ListIssuesRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListIssuesRequest request = @@ -2512,8 +2770,11 @@ public final UnaryCallablelistIssuesCall * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * Issue issue = Issue.newBuilder().build(); @@ -2539,8 +2800,11 @@ public final Issue updateIssue(Issue issue, FieldMask updateMask) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateIssueRequest request = @@ -2566,8 +2830,11 @@ public final Issue updateIssue(UpdateIssueRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateIssueRequest request = @@ -2593,8 +2860,11 @@ public final UnaryCallableupdateIssueCallable() { * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * IssueModelName issueModel = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); @@ -2622,8 +2892,11 @@ public final CalculateIssueModelStatsResponse calculateIssueModelStats( *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String issueModel = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); @@ -2648,8 +2921,11 @@ public final CalculateIssueModelStatsResponse calculateIssueModelStats(String is *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CalculateIssueModelStatsRequest request = @@ -2677,8 +2953,11 @@ public final CalculateIssueModelStatsResponse calculateIssueModelStats( *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CalculateIssueModelStatsRequest request = @@ -2705,8 +2984,11 @@ public final CalculateIssueModelStatsResponse calculateIssueModelStats( *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -2738,8 +3020,11 @@ public final PhraseMatcher createPhraseMatcher(LocationName parent, PhraseMatche *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -2771,8 +3056,11 @@ public final PhraseMatcher createPhraseMatcher(String parent, PhraseMatcher phra *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreatePhraseMatcherRequest request = @@ -2798,8 +3086,11 @@ public final PhraseMatcher createPhraseMatcher(CreatePhraseMatcherRequest reques *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreatePhraseMatcherRequest request = @@ -2826,8 +3117,11 @@ public final PhraseMatcher createPhraseMatcher(CreatePhraseMatcherRequest reques *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * PhraseMatcherName name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); @@ -2851,8 +3145,11 @@ public final PhraseMatcher getPhraseMatcher(PhraseMatcherName 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString(); @@ -2875,8 +3172,11 @@ public final PhraseMatcher getPhraseMatcher(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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetPhraseMatcherRequest request = @@ -2902,8 +3202,11 @@ public final PhraseMatcher getPhraseMatcher(GetPhraseMatcherRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetPhraseMatcherRequest request = @@ -2929,8 +3232,11 @@ public final UnaryCallablegetPhraseMatc * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -2959,8 +3265,11 @@ public final ListPhraseMatchersPagedResponse listPhraseMatchers(LocationName par *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -2987,8 +3296,11 @@ public final ListPhraseMatchersPagedResponse listPhraseMatchers(String parent) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListPhraseMatchersRequest request = @@ -3020,8 +3332,11 @@ public final ListPhraseMatchersPagedResponse listPhraseMatchers( *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListPhraseMatchersRequest request = @@ -3052,8 +3367,11 @@ public final ListPhraseMatchersPagedResponse listPhraseMatchers( *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListPhraseMatchersRequest request = @@ -3091,8 +3409,11 @@ public final ListPhraseMatchersPagedResponse listPhraseMatchers( *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * PhraseMatcherName name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); @@ -3118,8 +3439,11 @@ public final void deletePhraseMatcher(PhraseMatcherName 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString(); @@ -3143,8 +3467,11 @@ public final void deletePhraseMatcher(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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeletePhraseMatcherRequest request = @@ -3170,8 +3497,11 @@ public final void deletePhraseMatcher(DeletePhraseMatcherRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeletePhraseMatcherRequest request = @@ -3197,8 +3527,11 @@ public final UnaryCallabledeletePhraseMatche * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * PhraseMatcher phraseMatcher = PhraseMatcher.newBuilder().build(); @@ -3229,8 +3562,11 @@ public final PhraseMatcher updatePhraseMatcher( *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdatePhraseMatcherRequest request = @@ -3256,8 +3592,11 @@ public final PhraseMatcher updatePhraseMatcher(UpdatePhraseMatcherRequest reques *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdatePhraseMatcherRequest request = @@ -3284,8 +3623,11 @@ public final PhraseMatcher updatePhraseMatcher(UpdatePhraseMatcherRequest reques *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName location = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -3311,8 +3653,11 @@ public final CalculateStatsResponse calculateStats(LocationName location) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String location = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -3336,8 +3681,11 @@ public final CalculateStatsResponse calculateStats(String location) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CalculateStatsRequest request = @@ -3363,8 +3711,11 @@ public final CalculateStatsResponse calculateStats(CalculateStatsRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CalculateStatsRequest request = @@ -3391,8 +3742,11 @@ public final CalculateStatsResponse calculateStats(CalculateStatsRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * SettingsName name = SettingsName.of("[PROJECT]", "[LOCATION]"); @@ -3416,8 +3770,11 @@ public final Settings getSettings(SettingsName 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = SettingsName.of("[PROJECT]", "[LOCATION]").toString(); @@ -3440,8 +3797,11 @@ public final Settings getSettings(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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetSettingsRequest request = @@ -3466,8 +3826,11 @@ public final Settings getSettings(GetSettingsRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetSettingsRequest request = @@ -3492,8 +3855,11 @@ public final UnaryCallablegetSettingsCallable() { * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * Settings settings = Settings.newBuilder().build(); @@ -3519,8 +3885,11 @@ public final Settings updateSettings(Settings settings, FieldMask updateMask) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateSettingsRequest request = @@ -3546,8 +3915,11 @@ public final Settings updateSettings(UpdateSettingsRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateSettingsRequest request = @@ -3573,8 +3945,11 @@ public final UnaryCallableupdateSettingsCallab * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -3605,8 +3980,11 @@ public final View createView(LocationName parent, View view) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -3634,8 +4012,11 @@ public final View createView(String parent, View view) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateViewRequest request = @@ -3661,8 +4042,11 @@ public final View createView(CreateViewRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * CreateViewRequest request = @@ -3687,8 +4071,11 @@ public final UnaryCallablecreateViewCallable() { * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ViewName name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]"); @@ -3712,8 +4099,11 @@ public final View getView(ViewName 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString(); @@ -3736,8 +4126,11 @@ public final View getView(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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetViewRequest request = @@ -3762,8 +4155,11 @@ public final View getView(GetViewRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * GetViewRequest request = @@ -3787,8 +4183,11 @@ public final UnaryCallablegetViewCallable() { * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -3814,8 +4213,11 @@ public final ListViewsPagedResponse listViews(LocationName parent) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -3840,8 +4242,11 @@ public final ListViewsPagedResponse listViews(String parent) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListViewsRequest request = @@ -3870,8 +4275,11 @@ public final ListViewsPagedResponse listViews(ListViewsRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListViewsRequest request = @@ -3900,8 +4308,11 @@ public final UnaryCallablelistViewsPa * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ListViewsRequest request = @@ -3936,8 +4347,11 @@ public final UnaryCallablelistViewsCallabl * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * View view = View.newBuilder().build(); @@ -3963,8 +4377,11 @@ public final View updateView(View view, FieldMask updateMask) { *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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateViewRequest request = @@ -3990,8 +4407,11 @@ public final View updateView(UpdateViewRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * UpdateViewRequest request = @@ -4016,8 +4436,11 @@ public final UnaryCallableupdateViewCallable() { * 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * ViewName name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]"); @@ -4041,8 +4464,11 @@ public final void deleteView(ViewName 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * String name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString(); @@ -4065,8 +4491,11 @@ public final void deleteView(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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteViewRequest request = @@ -4091,8 +4520,11 @@ public final void deleteView(DeleteViewRequest 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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * DeleteViewRequest request = diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java index c780d005edd8..61d61a9a1ae0 100644 --- a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java +++ b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java @@ -60,8 +60,11 @@ *For example, to set the total timeout of createConversation 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 * ContactCenterInsightsSettings.Builder contactCenterInsightsSettingsBuilder = * ContactCenterInsightsSettings.newBuilder(); * contactCenterInsightsSettingsBuilder diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java index d4fbbcf0277c..d345aa05204c 100644 --- a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java +++ b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java @@ -25,8 +25,11 @@ *Sample for ContactCenterInsightsClient: * *
{@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 (ContactCenterInsightsClient contactCenterInsightsClient = * ContactCenterInsightsClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java index 16c3b7d8db43..1ce687d6e1e0 100644 --- a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java +++ b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java @@ -138,8 +138,11 @@ *For example, to set the total timeout of createConversation 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 * ContactCenterInsightsStubSettings.Builder contactCenterInsightsSettingsBuilder = * ContactCenterInsightsStubSettings.newBuilder(); * contactCenterInsightsSettingsBuilder diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java index f4342af508b1..f192c5717e0a 100644 --- a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java +++ b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java @@ -160,7 +160,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("conversation", request.getConversation())) + .toBody("conversation", request.getConversation(), false)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -199,7 +199,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("conversation", request.getConversation())) + .toBody("conversation", request.getConversation(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -344,7 +344,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("analysis", request.getAnalysis())) + .toBody("analysis", request.getAnalysis(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -489,7 +489,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build())) + .toBody("*", request.toBuilder().clearParent().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -529,7 +529,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("issueModel", request.getIssueModel())) + .toBody("issueModel", request.getIssueModel(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -571,7 +571,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("issueModel", request.getIssueModel())) + .toBody("issueModel", request.getIssueModel(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -713,7 +713,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -753,7 +753,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -857,7 +857,8 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub return fields; }) .setRequestBodyExtractor( - request -> ProtoRestSerializer.create().toBody("issue", request.getIssue())) + request -> + ProtoRestSerializer.create().toBody("issue", request.getIssue(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -930,7 +931,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("phraseMatcher", request.getPhraseMatcher())) + .toBody("phraseMatcher", request.getPhraseMatcher(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1074,7 +1075,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("phraseMatcher", request.getPhraseMatcher())) + .toBody("phraseMatcher", request.getPhraseMatcher(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1182,7 +1183,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("settings", request.getSettings())) + .toBody("settings", request.getSettings(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1216,7 +1217,8 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub return fields; }) .setRequestBodyExtractor( - request -> ProtoRestSerializer.create().toBody("view", request.getView())) + request -> + ProtoRestSerializer.create().toBody("view", request.getView(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1319,7 +1321,8 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub return fields; }) .setRequestBodyExtractor( - request -> ProtoRestSerializer.create().toBody("view", request.getView())) + request -> + ProtoRestSerializer.create().toBody("view", request.getView(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java index 2853f3a7ca38..234d3497c60f 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCalculateIssueModelStats() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CalculateIssueModelStatsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java index bb2679218dc0..7e5989df678d 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncCalculateIssueModelStats() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CalculateIssueModelStatsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java index f006b83c9f97..6a86530ad520 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCalculateIssueModelStatsIssuemodelname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { IssueModelName issueModel = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java index 23af4c8401e8..b6bc31cf348e 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCalculateIssueModelStatsString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String issueModel = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java index 888ec7685daa..53b7cc299e49 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCalculateStats() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CalculateStatsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java index e41d6a1a9a50..21474bb31487 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncCalculateStats() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CalculateStatsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java index aa98d003d1cc..2ebec9171076 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCalculateStatsLocationname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { LocationName location = LocationName.of("[PROJECT]", "[LOCATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java index 826e749916d8..bd85e3e461c1 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCalculateStatsString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String location = LocationName.of("[PROJECT]", "[LOCATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java index dde92bb6d055..98e51e4e023b 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/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 ContactCenterInsightsSettings contactCenterInsightsSettings = ContactCenterInsightsSettings.newBuilder() .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java index cab85cfe75f8..4477e88fa239 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/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 ContactCenterInsightsSettings contactCenterInsightsSettings = ContactCenterInsightsSettings.newBuilder() .setTransportChannelProvider( diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java index 74e02d22c863..a8e6135bd542 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/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 ContactCenterInsightsSettings contactCenterInsightsSettings = ContactCenterInsightsSettings.newBuilder().setEndpoint(myEndpoint).build(); ContactCenterInsightsClient contactCenterInsightsClient = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java index 4cc6ef5f6f73..5cbf8cf5f1e3 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreateAnalysis() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CreateAnalysisRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java index d72b00ac4f25..1fcf81e58ebb 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreateAnalysisLRO() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CreateAnalysisRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java index 4003372fa6b9..37135ab61968 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateAnalysis() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CreateAnalysisRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java index 9e9a073bef62..ccfe009029a4 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateAnalysisConversationnameAnalysis() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ConversationName parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java index 20065f19f795..2a772f66230f 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateAnalysisStringAnalysis() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java index 99f61c8eb8ef..b828ea92a978 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreateConversation() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CreateConversationRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java index 221e0bb75c5b..e3da696189d7 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateConversation() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CreateConversationRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java index 708d87201c86..257371bc2e5a 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateConversationLocationnameConversationString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java index b18ed304346a..e489265ac731 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateConversationStringConversationString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java index e3fe202ef935..ecb3043ece81 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreateIssueModel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CreateIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java index f335c7e38746..45e307b7f58f 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreateIssueModelLRO() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CreateIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java index e583f05b562c..742ec4448798 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateIssueModel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CreateIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java index 9f1afc3e3e12..b5fca799801c 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateIssueModelLocationnameIssuemodel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java index 98b013f6b8e0..ca3867db3866 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateIssueModelStringIssuemodel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java index 967539eb9a22..8d6496a8f504 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreatePhraseMatcher() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CreatePhraseMatcherRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java index 665c1abbdf8d..bcb1cbf89273 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreatePhraseMatcher() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CreatePhraseMatcherRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java index 6afbdeaaf357..11bab1424de7 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreatePhraseMatcherLocationnamePhrasematcher() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java index 410ae93f36b6..d05cef89bd3d 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreatePhraseMatcherStringPhrasematcher() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java index c9c5758cbba9..6a7e1e5c534a 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncCreateView() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CreateViewRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java index 2f7553367818..b5aa958e3682 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateView() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { CreateViewRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java index ae0ac857821a..d93d798a6143 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateViewLocationnameView() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java index 93ea15b1f844..40f409d16673 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateViewStringView() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java index d0e06d2d3185..68bbf33fe9ce 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncDeleteAnalysis() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeleteAnalysisRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java index ff47696f9b8c..36daabfbb503 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteAnalysis() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeleteAnalysisRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java index d8917acf9e4f..c3d73ad4c7c5 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteAnalysisAnalysisname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { AnalysisName name = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java index f09890ee42c3..e2512b427a00 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteAnalysisString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java index 204f720fc4db..2985cc26f831 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncDeleteConversation() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeleteConversationRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java index ab18c6e72f99..274f3161ab73 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteConversation() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeleteConversationRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java index 889e2db51fc5..d5ea7d1d885a 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteConversationConversationname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ConversationName name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java index e3cdc99bd8ea..e9a37b1edc3b 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteConversationString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java index 9fca7eda0cf6..b05016355b79 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncDeleteIssueModel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeleteIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java index 063df5e1e886..467d853be349 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncDeleteIssueModelLRO() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeleteIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java index 79111892193d..b208dc9ec956 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteIssueModel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeleteIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java index 5a840260a4c1..3ff653021f50 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteIssueModelIssuemodelname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java index 9b91ca2b74b7..e9fc17ca9d20 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteIssueModelString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java index 832a508aa204..9e6061e48a07 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncDeletePhraseMatcher() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeletePhraseMatcherRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java index cc30efb0293c..76f8c273568d 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeletePhraseMatcher() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeletePhraseMatcherRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java index 9f5a9d8a87ce..f52c6ea7f509 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeletePhraseMatcherPhrasematchername() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { PhraseMatcherName name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java index 23026b574f84..1d867eb9f110 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeletePhraseMatcherString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java index 6657d5d87071..9f05c5e76a7e 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncDeleteView() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeleteViewRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java index 3194ff183bcf..aee77b4dfdab 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteView() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeleteViewRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java index 5c21247457ef..86b1bf7ceacb 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteViewString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java index b7ddd46f607b..3142bb0e21d7 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeleteViewViewname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ViewName name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java index 21c10d747fc0..5e1b940c0953 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncDeployIssueModel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeployIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java index 529e2a030c3e..4c8e2a27220d 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncDeployIssueModelLRO() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeployIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java index 4110d0f91851..5c9284997db4 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeployIssueModel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { DeployIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java index 55199671076f..c0fbdda00581 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeployIssueModelIssuemodelname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java index 2de860e675cd..e42bf3b49a38 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncDeployIssueModelString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java index 7b7f49334ccb..248b612711d9 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncExportInsightsData() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ExportInsightsDataRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java index 24000d0135d5..808217e0114c 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncExportInsightsDataLRO() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ExportInsightsDataRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java index dfa7d6436f0d..dbdeb20b338a 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncExportInsightsData() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ExportInsightsDataRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java index a2965ffa882a..e5e092c0ec6a 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncExportInsightsDataLocationname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java index 295a86f0115e..f208d0924f55 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncExportInsightsDataString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java index 27e86acc1300..43002f0b6e3f 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncGetAnalysis() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetAnalysisRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java index 74618ef79928..56c219a0c8d5 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetAnalysis() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetAnalysisRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java index 7e07d5bc426e..7d2e0b97ccad 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetAnalysisAnalysisname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { AnalysisName name = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java index ec9993de5249..bdc7de00f641 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetAnalysisString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java index 5e8a030bf8bc..1868abdbfd40 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncGetConversation() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetConversationRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java index 3f6adfbba68e..7729e27b8115 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetConversation() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetConversationRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java index ebe724e7c3db..9afc3b760563 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetConversationConversationname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ConversationName name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java index 30333dc015db..fdc8f2f8d419 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetConversationString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java index a4216efa7eed..a6593566ed61 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncGetIssue() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetIssueRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java index 8942fd7d995c..f164b5f3f716 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetIssue() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetIssueRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java index effbb1ab2e42..e958f65e784c 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetIssueIssuename() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { IssueName name = IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java index 6467c72b9c10..e3ced5c9d11f 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetIssueString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java index 7ba53f303cfc..6a014def0043 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncGetIssueModel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java index 6d9250e7cc2e..e12c54dffb20 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetIssueModel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java index d56b76a80355..fead61d13f9a 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetIssueModelIssuemodelname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java index d7d59db229cb..3feff95dcf93 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetIssueModelString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java index d68e87cb3985..c0e52f19764f 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncGetPhraseMatcher() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetPhraseMatcherRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java index 35e71f2263b8..8cd83276b989 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetPhraseMatcher() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetPhraseMatcherRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java index 771045db3a53..9bc67f63d10b 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetPhraseMatcherPhrasematchername() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { PhraseMatcherName name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java index fcc379ef4849..9cbd8438d277 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetPhraseMatcherString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java index 165a0f482ec0..79f81bc9fd62 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncGetSettings() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetSettingsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java index 80752b00eecf..bad4595ab7cc 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetSettings() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetSettingsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java index a9ac49ee0523..c6825c565780 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetSettingsSettingsname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { SettingsName name = SettingsName.of("[PROJECT]", "[LOCATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java index 3d85c6ee5140..186513c705ad 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetSettingsString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = SettingsName.of("[PROJECT]", "[LOCATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java index 823f353eba11..bdb8cd169f30 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncGetView() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetViewRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java index 7382b76b11d3..a2aa3ef0edc4 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetView() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { GetViewRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java index 7e4135e62beb..6fa90048bbbb 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetViewString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java index 8cdfe476a54c..2c62438e4734 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncGetViewViewname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ViewName name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java index d585a551b71b..439dd96a81e0 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListAnalyses() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListAnalysesRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java index 15c5ab0f672c..93a9da3016ad 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListAnalysesPaged() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListAnalysesRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java index a98b015ea852..a34cdc9bf435 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncListAnalyses() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListAnalysesRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java index fd5e75ef55f5..afbc70b35e84 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListAnalysesConversationname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ConversationName parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java index a34dd93b5484..e1112011fff6 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListAnalysesString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java index c55a5c141fe9..6ac8341e3302 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListConversations() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListConversationsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java index 690a3a58328b..604028c196e4 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java @@ -32,8 +32,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListConversationsPaged() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListConversationsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java index 6a55fcd0cd09..8faab9911626 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void syncListConversations() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListConversationsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java index 51dfa05a5647..554ffc5ae51e 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListConversationsLocationname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java index fd662f4d8f2c..9f79af443539 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListConversationsString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java index 2611f64dcaaa..70cc494d8b03 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListIssueModels() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListIssueModelsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java index 227d5666cd65..a5796c1b88bf 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncListIssueModels() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListIssueModelsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java index 786fc871abdb..9b4333b94558 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListIssueModelsLocationname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java index 5f1448746a1e..2eae1248207d 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListIssueModelsString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java index 94df676e8cf5..0583627b1605 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListIssues() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListIssuesRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java index 0e050f3bc6e1..2036fd57b24c 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncListIssues() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListIssuesRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java index e7ebab64db31..4b3542243cac 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListIssuesIssuemodelname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { IssueModelName parent = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java index aff28bcc56a5..10b44fcddd55 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListIssuesString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String parent = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java index f177cd78068c..a8681518a1b6 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListPhraseMatchers() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListPhraseMatchersRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java index 295830f01d96..b2670cdce72c 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListPhraseMatchersPaged() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListPhraseMatchersRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java index 513fc40e6da5..ea1af99601d6 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncListPhraseMatchers() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListPhraseMatchersRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java index 0c812f8c9141..b6d1f0558505 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListPhraseMatchersLocationname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java index 30b418ce23d1..0e2465b140f9 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListPhraseMatchersString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java index b942fbb622cb..779218885277 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListViews() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListViewsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java index c93e749fcd69..402fb3497d45 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncListViewsPaged() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListViewsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java index 2b3351bd4f8a..ec1a278890d7 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncListViews() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { ListViewsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java index f0909adaf160..0d0167cdbde7 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListViewsLocationname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java index 6cf32cb8bf20..396ecbce7531 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncListViewsString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java index 0ae3db002908..7e7fd08a4d74 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUndeployIssueModel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UndeployIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java index e94830631b17..b68b358b3097 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUndeployIssueModelLRO() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UndeployIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java index 538ff0536508..d0715db9ea3b 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncUndeployIssueModel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UndeployIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java index 96f76a0a450b..cc277b5b2524 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncUndeployIssueModelIssuemodelname() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java index e6b6ccc2ea2c..479d0978cd80 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncUndeployIssueModelString() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java index 3e58ef6da7cd..efd09518e966 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUpdateConversation() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UpdateConversationRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java index ec264ef27c43..5db6c1d9be8c 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateConversation() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UpdateConversationRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java index b6b447b3ef3c..457390cd55a6 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateConversationConversationFieldmask() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { Conversation conversation = Conversation.newBuilder().build(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java index 7c094dffd5aa..7e4a7b67fcac 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUpdateIssue() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UpdateIssueRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java index 68ce20df8586..84a7218f193f 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateIssue() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UpdateIssueRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java index 493ca404629a..368086d22c87 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateIssueIssueFieldmask() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { Issue issue = Issue.newBuilder().build(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java index d9007ca18d3c..287de38d3da2 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUpdateIssueModel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UpdateIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java index cbec3d5bf035..dc6605ccec55 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateIssueModel() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UpdateIssueModelRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java index 1352fd03c67d..72fffc9522b2 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateIssueModelIssuemodelFieldmask() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { IssueModel issueModel = IssueModel.newBuilder().build(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java index 2e85c761de9e..68c0633d9405 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUpdatePhraseMatcher() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UpdatePhraseMatcherRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java index 6148c7330db3..952fdf3793a2 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdatePhraseMatcher() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UpdatePhraseMatcherRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java index e6d99ffef4a2..86ddda09b7b5 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdatePhraseMatcherPhrasematcherFieldmask() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { PhraseMatcher phraseMatcher = PhraseMatcher.newBuilder().build(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java index eaafbbf79e76..630ca60675f3 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUpdateSettings() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UpdateSettingsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java index 75a294c86e95..548aafa0cf62 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateSettings() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UpdateSettingsRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java index 3d8a1c625264..64f808e3c090 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateSettingsSettingsFieldmask() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { Settings settings = Settings.newBuilder().build(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java index 70683b6ea0e2..a2230507c96f 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception { } public static void asyncUpdateView() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UpdateViewRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java index 5d42d717a0fc..cf17d3ce59cd 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateView() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { UpdateViewRequest request = diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java index 8a5a8036d4a3..af13ebfeea35 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception { } public static void syncUpdateViewViewFieldmask() 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 (ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.create()) { View view = View.newBuilder().build(); diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java index ff83e77d0917..9dd54f7a29cf 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java @@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateConversation() 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 ContactCenterInsightsSettings.Builder contactCenterInsightsSettingsBuilder = ContactCenterInsightsSettings.newBuilder(); contactCenterInsightsSettingsBuilder diff --git a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java index 2ad5bfe83bc8..59148d9b1aae 100644 --- a/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java +++ b/java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java @@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception { } public static void syncCreateConversation() 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 ContactCenterInsightsStubSettings.Builder contactCenterInsightsSettingsBuilder = ContactCenterInsightsStubSettings.newBuilder(); contactCenterInsightsSettingsBuilder