From 7c228ccd3a2391dabc459e010ae67b22f53acf02 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 8 Sep 2022 20:28:28 +0000 Subject: [PATCH] chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#10) - [ ] 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/AppConnectorsServiceClient.java | 294 +++++++++++++----- .../v1/AppConnectorsServiceSettings.java | 7 +- .../appconnectors/v1/package-info.java | 7 +- .../AppConnectorsServiceStubSettings.java | 7 +- 4 files changed, 225 insertions(+), 90 deletions(-) diff --git a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorsServiceClient.java b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorsServiceClient.java index f07aa2801f2a..097fdfdd5da6 100644 --- a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorsServiceClient.java +++ b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorsServiceClient.java @@ -69,8 +69,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 (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * AppConnectorName name = AppConnectorName.of("[PROJECT]", "[LOCATION]", "[APP_CONNECTOR]"); @@ -108,8 +111,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 * AppConnectorsServiceSettings appConnectorsServiceSettings = * AppConnectorsServiceSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -121,8 +127,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 * AppConnectorsServiceSettings appConnectorsServiceSettings = * AppConnectorsServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); * AppConnectorsServiceClient appConnectorsServiceClient = @@ -199,8 +208,11 @@ public final OperationsClient getOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -230,8 +242,11 @@ public final ListAppConnectorsPagedResponse listAppConnectors(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 (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -259,8 +274,11 @@ public final ListAppConnectorsPagedResponse listAppConnectors(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 (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * ListAppConnectorsRequest request = @@ -292,8 +310,11 @@ public final ListAppConnectorsPagedResponse listAppConnectors(ListAppConnectorsR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * ListAppConnectorsRequest request = @@ -325,8 +346,11 @@ public final ListAppConnectorsPagedResponse listAppConnectors(ListAppConnectorsR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * ListAppConnectorsRequest request = @@ -365,8 +389,11 @@ public final ListAppConnectorsPagedResponse listAppConnectors(ListAppConnectorsR *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * AppConnectorName name = AppConnectorName.of("[PROJECT]", "[LOCATION]", "[APP_CONNECTOR]"); @@ -391,8 +418,11 @@ public final AppConnector getAppConnector(AppConnectorName 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 (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * String name = AppConnectorName.of("[PROJECT]", "[LOCATION]", "[APP_CONNECTOR]").toString(); @@ -416,8 +446,11 @@ public final AppConnector getAppConnector(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 (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * GetAppConnectorRequest request = @@ -442,8 +475,11 @@ public final AppConnector getAppConnector(GetAppConnectorRequest 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 (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * GetAppConnectorRequest request = @@ -468,8 +504,11 @@ public final UnaryCallablegetAppConnector * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -508,8 +547,11 @@ public final OperationFuturecreate * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); @@ -548,8 +590,11 @@ public final OperationFuturecreate * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * CreateAppConnectorRequest request = @@ -579,8 +624,11 @@ public final OperationFuturecreate * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * CreateAppConnectorRequest request = @@ -611,8 +659,11 @@ public final OperationFuturecreate * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * CreateAppConnectorRequest request = @@ -641,8 +692,11 @@ public final UnaryCallablecreateAppConnec * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * AppConnector appConnector = AppConnector.newBuilder().build(); @@ -681,8 +735,11 @@ public final OperationFutureupdate * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * UpdateAppConnectorRequest request = @@ -711,8 +768,11 @@ public final OperationFutureupdate * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * UpdateAppConnectorRequest request = @@ -742,8 +802,11 @@ public final OperationFutureupdate * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * UpdateAppConnectorRequest request = @@ -771,8 +834,11 @@ public final UnaryCallableupdateAppConnec * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * AppConnectorName name = AppConnectorName.of("[PROJECT]", "[LOCATION]", "[APP_CONNECTOR]"); @@ -800,8 +866,11 @@ public final OperationFuturedeleteAppConn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * String name = AppConnectorName.of("[PROJECT]", "[LOCATION]", "[APP_CONNECTOR]").toString(); @@ -827,8 +896,11 @@ public final OperationFuturedeleteAppConn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * DeleteAppConnectorRequest request = @@ -856,8 +928,11 @@ public final OperationFuturedeleteAppConn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * DeleteAppConnectorRequest request = @@ -885,8 +960,11 @@ public final OperationFuturedeleteAppConn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * DeleteAppConnectorRequest request = @@ -913,8 +991,11 @@ public final UnaryCallabledeleteAppConnec * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * AppConnectorName appConnector = @@ -947,8 +1028,11 @@ public final OperationFuturereport * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * String appConnector = @@ -981,8 +1065,11 @@ public final OperationFuturereport * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * ReportStatusRequest request = @@ -1012,8 +1099,11 @@ public final OperationFuturereport * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * ReportStatusRequest request = @@ -1043,8 +1133,11 @@ public final OperationFuturereport * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * ReportStatusRequest request = @@ -1073,8 +1166,11 @@ public final UnaryCallablereportStatusCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * ListLocationsRequest request = @@ -1104,8 +1200,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * ListLocationsRequest request = @@ -1136,8 +1235,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * ListLocationsRequest request = @@ -1174,8 +1276,11 @@ public final UnaryCallablelistLoca * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); @@ -1197,8 +1302,11 @@ public final Location getLocation(GetLocationRequest 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 (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); @@ -1222,8 +1330,11 @@ public final UnaryCallablegetLocationCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * SetIamPolicyRequest request = @@ -1253,8 +1364,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest 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 (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * SetIamPolicyRequest request = @@ -1283,8 +1397,11 @@ public final UnaryCallablesetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * GetIamPolicyRequest request = @@ -1312,8 +1429,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest 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 (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * GetIamPolicyRequest request = @@ -1345,8 +1465,11 @@ public final UnaryCallablegetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * TestIamPermissionsRequest request = @@ -1378,8 +1501,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * TestIamPermissionsRequest request = diff --git a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorsServiceSettings.java b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorsServiceSettings.java index cb043988a8f2..86b26621ef56 100644 --- a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorsServiceSettings.java +++ b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorsServiceSettings.java @@ -65,8 +65,11 @@ *For example, to set the total timeout of getAppConnector 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 * AppConnectorsServiceSettings.Builder appConnectorsServiceSettingsBuilder = * AppConnectorsServiceSettings.newBuilder(); * appConnectorsServiceSettingsBuilder diff --git a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/package-info.java b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/package-info.java index 40d2403d6cab..1acf4581d66a 100644 --- a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/package-info.java +++ b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/package-info.java @@ -40,8 +40,11 @@ *Sample for AppConnectorsServiceClient: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AppConnectorsServiceClient appConnectorsServiceClient = * AppConnectorsServiceClient.create()) { * AppConnectorName name = AppConnectorName.of("[PROJECT]", "[LOCATION]", "[APP_CONNECTOR]"); diff --git a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/stub/AppConnectorsServiceStubSettings.java b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/stub/AppConnectorsServiceStubSettings.java index 844562e6881e..7a02d64cff76 100644 --- a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/stub/AppConnectorsServiceStubSettings.java +++ b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/stub/AppConnectorsServiceStubSettings.java @@ -92,8 +92,11 @@ *For example, to set the total timeout of getAppConnector 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 * AppConnectorsServiceStubSettings.Builder appConnectorsServiceSettingsBuilder = * AppConnectorsServiceStubSettings.newBuilder(); * appConnectorsServiceSettingsBuilder