diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java index 42f335050847..4ad42245d310 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java @@ -52,8 +52,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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * LakeName parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]"); * Content content = Content.newBuilder().build(); @@ -90,8 +93,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 * ContentServiceSettings contentServiceSettings = * ContentServiceSettings.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 * ContentServiceSettings contentServiceSettings = * ContentServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); * ContentServiceClient contentServiceClient = ContentServiceClient.create(contentServiceSettings); @@ -113,8 +122,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 * ContentServiceSettings contentServiceSettings = * ContentServiceSettings.newBuilder() * .setTransportChannelProvider( @@ -182,8 +194,11 @@ public ContentServiceStub getStub() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * LakeName parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]"); * Content content = Content.newBuilder().build(); @@ -212,8 +227,11 @@ public final Content createContent(LakeName parent, Content content) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * String parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]").toString(); * Content content = Content.newBuilder().build(); @@ -239,8 +257,11 @@ public final Content createContent(String parent, Content content) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * CreateContentRequest request = * CreateContentRequest.newBuilder() @@ -266,8 +287,11 @@ public final Content createContent(CreateContentRequest 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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * CreateContentRequest request = * CreateContentRequest.newBuilder() @@ -292,8 +316,11 @@ public final UnaryCallablecreateContentCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * Content content = Content.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -319,8 +346,11 @@ public final Content updateContent(Content content, 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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * UpdateContentRequest request = * UpdateContentRequest.newBuilder() @@ -346,8 +376,11 @@ public final Content updateContent(UpdateContentRequest 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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * UpdateContentRequest request = * UpdateContentRequest.newBuilder() @@ -372,8 +405,11 @@ public final UnaryCallableupdateContentCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * ContentName name = ContentName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[CONTENT]"); * contentServiceClient.deleteContent(name); @@ -397,8 +433,11 @@ public final void deleteContent(ContentName 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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * String name = ContentName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[CONTENT]").toString(); * contentServiceClient.deleteContent(name); @@ -421,8 +460,11 @@ public final void deleteContent(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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * DeleteContentRequest request = * DeleteContentRequest.newBuilder() @@ -446,8 +488,11 @@ public final void deleteContent(DeleteContentRequest 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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * DeleteContentRequest request = * DeleteContentRequest.newBuilder() @@ -470,8 +515,11 @@ public final UnaryCallabledeleteContentCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * ContentName name = ContentName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[CONTENT]"); * Content response = contentServiceClient.getContent(name); @@ -495,8 +543,11 @@ public final Content getContent(ContentName 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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * String name = ContentName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[CONTENT]").toString(); * Content response = contentServiceClient.getContent(name); @@ -519,8 +570,11 @@ public final Content getContent(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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * GetContentRequest request = * GetContentRequest.newBuilder() @@ -544,8 +598,11 @@ public final Content getContent(GetContentRequest 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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * GetContentRequest request = * GetContentRequest.newBuilder() @@ -572,8 +629,11 @@ public final UnaryCallablegetContentCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * ResourceName resource = ContentName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[CONTENT]"); * Policy response = contentServiceClient.getIamPolicy(resource); @@ -603,8 +663,11 @@ public final Policy getIamPolicy(ResourceName resource) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * String resource = * AssetName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]", "[ASSET]").toString(); @@ -632,8 +695,11 @@ public final Policy getIamPolicy(String resource) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() @@ -663,8 +729,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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() @@ -692,8 +761,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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() @@ -723,8 +795,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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() @@ -757,8 +832,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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() @@ -791,8 +869,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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() @@ -819,8 +900,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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * LakeName parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]"); * for (Content element : contentServiceClient.listContent(parent).iterateAll()) { @@ -848,8 +932,11 @@ public final ListContentPagedResponse listContent(LakeName 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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * String parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]").toString(); * for (Content element : contentServiceClient.listContent(parent).iterateAll()) { @@ -874,8 +961,11 @@ public final ListContentPagedResponse listContent(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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * ListContentRequest request = * ListContentRequest.newBuilder() @@ -904,8 +994,11 @@ public final ListContentPagedResponse listContent(ListContentRequest 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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * ListContentRequest request = * ListContentRequest.newBuilder() @@ -935,8 +1028,11 @@ public final ListContentPagedResponse listContent(ListContentRequest 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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * ListContentRequest request = * ListContentRequest.newBuilder() @@ -971,8 +1067,11 @@ public final UnaryCallablelistContentC * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * ListLocationsRequest request = * ListLocationsRequest.newBuilder() @@ -1001,8 +1100,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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * ListLocationsRequest request = * ListLocationsRequest.newBuilder() @@ -1032,8 +1134,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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * ListLocationsRequest request = * ListLocationsRequest.newBuilder() @@ -1068,8 +1173,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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); * Location response = contentServiceClient.getLocation(request); @@ -1090,8 +1198,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 (ContentServiceClient contentServiceClient = ContentServiceClient.create()) { * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); * ApiFuturefuture = contentServiceClient.getLocationCallable().futureCall(request); diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java index 0272cbcd427d..aa7a7e044c6a 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceSettings.java @@ -64,17 +64,17 @@ * For example, to set the total timeout of createContent 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 * ContentServiceSettings.Builder contentServiceSettingsBuilder = * ContentServiceSettings.newBuilder(); * contentServiceSettingsBuilder * .createContentSettings() * .setRetrySettings( - * contentServiceSettingsBuilder - * .createContentSettings() - * .getRetrySettings() - * .toBuilder() + * contentServiceSettingsBuilder.createContentSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * ContentServiceSettings contentServiceSettings = contentServiceSettingsBuilder.build(); diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java index 169044fa3c59..3c2b04949bd7 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java @@ -54,8 +54,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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * LakeName name = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]"); * Lake response = dataplexServiceClient.getLake(name); @@ -92,8 +95,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 * DataplexServiceSettings dataplexServiceSettings = * DataplexServiceSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -105,8 +111,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 * DataplexServiceSettings dataplexServiceSettings = * DataplexServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); * DataplexServiceClient dataplexServiceClient = @@ -117,8 +126,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 * DataplexServiceSettings dataplexServiceSettings = * DataplexServiceSettings.newBuilder() * .setTransportChannelProvider( @@ -212,8 +224,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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * Lake lake = Lake.newBuilder().build(); @@ -256,8 +271,11 @@ public final OperationFuturecreateLakeAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * Lake lake = Lake.newBuilder().build(); @@ -296,8 +314,11 @@ public final OperationFuturecreateLakeAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateLakeRequest request = * CreateLakeRequest.newBuilder() @@ -324,8 +345,11 @@ public final OperationFuturecreateLakeAsync(CreateLake * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateLakeRequest request = * CreateLakeRequest.newBuilder() @@ -353,8 +377,11 @@ public final OperationFuturecreateLakeAsync(CreateLake * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateLakeRequest request = * CreateLakeRequest.newBuilder() @@ -380,8 +407,11 @@ public final UnaryCallablecreateLakeCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * Lake lake = Lake.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -407,8 +437,11 @@ public final OperationFutureupdateLakeAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * UpdateLakeRequest request = * UpdateLakeRequest.newBuilder() @@ -434,8 +467,11 @@ public final OperationFutureupdateLakeAsync(UpdateLake * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * UpdateLakeRequest request = * UpdateLakeRequest.newBuilder() @@ -462,8 +498,11 @@ public final OperationFutureupdateLakeAsync(UpdateLake * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * UpdateLakeRequest request = * UpdateLakeRequest.newBuilder() @@ -489,8 +528,11 @@ public final UnaryCallableupdateLakeCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * LakeName name = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]"); * dataplexServiceClient.deleteLakeAsync(name).get(); @@ -515,8 +557,11 @@ public final OperationFuturedeleteLakeAsync(LakeName * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String name = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]").toString(); * dataplexServiceClient.deleteLakeAsync(name).get(); @@ -540,8 +585,11 @@ public final OperationFuturedeleteLakeAsync(String na * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * DeleteLakeRequest request = * DeleteLakeRequest.newBuilder() @@ -567,8 +615,11 @@ public final OperationFuturedeleteLakeAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * DeleteLakeRequest request = * DeleteLakeRequest.newBuilder() @@ -594,8 +645,11 @@ public final OperationFuturedeleteLakeAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * DeleteLakeRequest request = * DeleteLakeRequest.newBuilder() @@ -618,8 +672,11 @@ public final UnaryCallabledeleteLakeCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * for (Lake element : dataplexServiceClient.listLakes(parent).iterateAll()) { @@ -646,8 +703,11 @@ public final ListLakesPagedResponse listLakes(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * for (Lake element : dataplexServiceClient.listLakes(parent).iterateAll()) { @@ -673,8 +733,11 @@ public final ListLakesPagedResponse listLakes(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListLakesRequest request = * ListLakesRequest.newBuilder() @@ -704,8 +767,11 @@ public final ListLakesPagedResponse listLakes(ListLakesRequest 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListLakesRequest request = * ListLakesRequest.newBuilder() @@ -734,8 +800,11 @@ public final UnaryCallablelistLakesPa * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListLakesRequest request = * ListLakesRequest.newBuilder() @@ -771,8 +840,11 @@ public final UnaryCallablelistLakesCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * LakeName name = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]"); * Lake response = dataplexServiceClient.getLake(name); @@ -796,8 +868,11 @@ public final Lake getLake(LakeName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String name = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]").toString(); * Lake response = dataplexServiceClient.getLake(name); @@ -820,8 +895,11 @@ public final Lake getLake(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * GetLakeRequest request = * GetLakeRequest.newBuilder() @@ -845,8 +923,11 @@ public final Lake getLake(GetLakeRequest 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * GetLakeRequest request = * GetLakeRequest.newBuilder() @@ -869,8 +950,11 @@ public final UnaryCallablegetLakeCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * LakeName parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]"); * for (Action element : dataplexServiceClient.listLakeActions(parent).iterateAll()) { @@ -898,8 +982,11 @@ public final ListLakeActionsPagedResponse listLakeActions(LakeName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]").toString(); * for (Action element : dataplexServiceClient.listLakeActions(parent).iterateAll()) { @@ -924,8 +1011,11 @@ public final ListLakeActionsPagedResponse listLakeActions(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListLakeActionsRequest request = * ListLakeActionsRequest.newBuilder() @@ -953,8 +1043,11 @@ public final ListLakeActionsPagedResponse listLakeActions(ListLakeActionsRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListLakeActionsRequest request = * ListLakeActionsRequest.newBuilder() @@ -983,8 +1076,11 @@ public final ListLakeActionsPagedResponse listLakeActions(ListLakeActionsRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListLakeActionsRequest request = * ListLakeActionsRequest.newBuilder() @@ -1020,8 +1116,11 @@ public final ListLakeActionsPagedResponse listLakeActions(ListLakeActionsRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * LakeName parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]"); * Zone zone = Zone.newBuilder().build(); @@ -1064,8 +1163,11 @@ public final OperationFuturecreateZoneAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]").toString(); * Zone zone = Zone.newBuilder().build(); @@ -1104,8 +1206,11 @@ public final OperationFuturecreateZoneAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateZoneRequest request = * CreateZoneRequest.newBuilder() @@ -1132,8 +1237,11 @@ public final OperationFuturecreateZoneAsync(CreateZone * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateZoneRequest request = * CreateZoneRequest.newBuilder() @@ -1161,8 +1269,11 @@ public final OperationFuturecreateZoneAsync(CreateZone * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateZoneRequest request = * CreateZoneRequest.newBuilder() @@ -1188,8 +1299,11 @@ public final UnaryCallablecreateZoneCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * Zone zone = Zone.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -1215,8 +1329,11 @@ public final OperationFutureupdateZoneAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * UpdateZoneRequest request = * UpdateZoneRequest.newBuilder() @@ -1242,8 +1359,11 @@ public final OperationFutureupdateZoneAsync(UpdateZone * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * UpdateZoneRequest request = * UpdateZoneRequest.newBuilder() @@ -1270,8 +1390,11 @@ public final OperationFutureupdateZoneAsync(UpdateZone * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * UpdateZoneRequest request = * UpdateZoneRequest.newBuilder() @@ -1297,8 +1420,11 @@ public final UnaryCallableupdateZoneCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ZoneName name = ZoneName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]"); * dataplexServiceClient.deleteZoneAsync(name).get(); @@ -1323,8 +1449,11 @@ public final OperationFuturedeleteZoneAsync(ZoneName * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String name = ZoneName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]").toString(); * dataplexServiceClient.deleteZoneAsync(name).get(); @@ -1348,8 +1477,11 @@ public final OperationFuturedeleteZoneAsync(String na * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * DeleteZoneRequest request = * DeleteZoneRequest.newBuilder() @@ -1375,8 +1507,11 @@ public final OperationFuturedeleteZoneAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * DeleteZoneRequest request = * DeleteZoneRequest.newBuilder() @@ -1402,8 +1537,11 @@ public final OperationFuturedeleteZoneAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * DeleteZoneRequest request = * DeleteZoneRequest.newBuilder() @@ -1426,8 +1564,11 @@ public final UnaryCallabledeleteZoneCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * LakeName parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]"); * for (Zone element : dataplexServiceClient.listZones(parent).iterateAll()) { @@ -1453,8 +1594,11 @@ public final ListZonesPagedResponse listZones(LakeName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]").toString(); * for (Zone element : dataplexServiceClient.listZones(parent).iterateAll()) { @@ -1479,8 +1623,11 @@ public final ListZonesPagedResponse listZones(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListZonesRequest request = * ListZonesRequest.newBuilder() @@ -1510,8 +1657,11 @@ public final ListZonesPagedResponse listZones(ListZonesRequest 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListZonesRequest request = * ListZonesRequest.newBuilder() @@ -1540,8 +1690,11 @@ public final UnaryCallablelistZonesPa * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListZonesRequest request = * ListZonesRequest.newBuilder() @@ -1577,8 +1730,11 @@ public final UnaryCallablelistZonesCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ZoneName name = ZoneName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]"); * Zone response = dataplexServiceClient.getZone(name); @@ -1602,8 +1758,11 @@ public final Zone getZone(ZoneName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String name = ZoneName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]").toString(); * Zone response = dataplexServiceClient.getZone(name); @@ -1626,8 +1785,11 @@ public final Zone getZone(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * GetZoneRequest request = * GetZoneRequest.newBuilder() @@ -1651,8 +1813,11 @@ public final Zone getZone(GetZoneRequest 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * GetZoneRequest request = * GetZoneRequest.newBuilder() @@ -1675,8 +1840,11 @@ public final UnaryCallablegetZoneCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ZoneName parent = ZoneName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]"); * for (Action element : dataplexServiceClient.listZoneActions(parent).iterateAll()) { @@ -1704,8 +1872,11 @@ public final ListZoneActionsPagedResponse listZoneActions(ZoneName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = ZoneName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]").toString(); * for (Action element : dataplexServiceClient.listZoneActions(parent).iterateAll()) { @@ -1730,8 +1901,11 @@ public final ListZoneActionsPagedResponse listZoneActions(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListZoneActionsRequest request = * ListZoneActionsRequest.newBuilder() @@ -1759,8 +1933,11 @@ public final ListZoneActionsPagedResponse listZoneActions(ListZoneActionsRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListZoneActionsRequest request = * ListZoneActionsRequest.newBuilder() @@ -1789,8 +1966,11 @@ public final ListZoneActionsPagedResponse listZoneActions(ListZoneActionsRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListZoneActionsRequest request = * ListZoneActionsRequest.newBuilder() @@ -1826,8 +2006,11 @@ public final ListZoneActionsPagedResponse listZoneActions(ListZoneActionsRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ZoneName parent = ZoneName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]"); * Asset asset = Asset.newBuilder().build(); @@ -1869,8 +2052,11 @@ public final OperationFuturecreateAssetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = ZoneName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]").toString(); * Asset asset = Asset.newBuilder().build(); @@ -1912,8 +2098,11 @@ public final OperationFuturecreateAssetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateAssetRequest request = * CreateAssetRequest.newBuilder() @@ -1941,8 +2130,11 @@ public final OperationFuturecreateAssetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateAssetRequest request = * CreateAssetRequest.newBuilder() @@ -1970,8 +2162,11 @@ public final OperationFuturecreateAssetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateAssetRequest request = * CreateAssetRequest.newBuilder() @@ -1997,8 +2192,11 @@ public final UnaryCallablecreateAssetCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * Asset asset = Asset.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -2024,8 +2222,11 @@ public final OperationFutureupdateAssetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * UpdateAssetRequest request = * UpdateAssetRequest.newBuilder() @@ -2052,8 +2253,11 @@ public final OperationFutureupdateAssetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * UpdateAssetRequest request = * UpdateAssetRequest.newBuilder() @@ -2080,8 +2284,11 @@ public final OperationFutureupdateAssetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * UpdateAssetRequest request = * UpdateAssetRequest.newBuilder() @@ -2107,8 +2314,11 @@ public final UnaryCallableupdateAssetCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * AssetName name = AssetName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]", "[ASSET]"); * dataplexServiceClient.deleteAssetAsync(name).get(); @@ -2133,8 +2343,11 @@ public final OperationFuturedeleteAssetAsync(AssetNam * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String name = * AssetName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]", "[ASSET]").toString(); @@ -2159,8 +2372,11 @@ public final OperationFuturedeleteAssetAsync(String n * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * DeleteAssetRequest request = * DeleteAssetRequest.newBuilder() @@ -2187,8 +2403,11 @@ public final OperationFuturedeleteAssetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * DeleteAssetRequest request = * DeleteAssetRequest.newBuilder() @@ -2215,8 +2434,11 @@ public final OperationFuturedeleteAssetAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * DeleteAssetRequest request = * DeleteAssetRequest.newBuilder() @@ -2240,8 +2462,11 @@ public final UnaryCallabledeleteAssetCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ZoneName parent = ZoneName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]"); * for (Asset element : dataplexServiceClient.listAssets(parent).iterateAll()) { @@ -2267,8 +2492,11 @@ public final ListAssetsPagedResponse listAssets(ZoneName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = ZoneName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]").toString(); * for (Asset element : dataplexServiceClient.listAssets(parent).iterateAll()) { @@ -2293,8 +2521,11 @@ public final ListAssetsPagedResponse listAssets(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListAssetsRequest request = * ListAssetsRequest.newBuilder() @@ -2324,8 +2555,11 @@ public final ListAssetsPagedResponse listAssets(ListAssetsRequest 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListAssetsRequest request = * ListAssetsRequest.newBuilder() @@ -2354,8 +2588,11 @@ public final UnaryCallablelistAsset * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListAssetsRequest request = * ListAssetsRequest.newBuilder() @@ -2391,8 +2628,11 @@ public final UnaryCallablelistAssetsCall * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * AssetName name = AssetName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]", "[ASSET]"); * Asset response = dataplexServiceClient.getAsset(name); @@ -2416,8 +2656,11 @@ public final Asset getAsset(AssetName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String name = * AssetName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]", "[ASSET]").toString(); @@ -2441,8 +2684,11 @@ public final Asset getAsset(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * GetAssetRequest request = * GetAssetRequest.newBuilder() @@ -2467,8 +2713,11 @@ public final Asset getAsset(GetAssetRequest 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * GetAssetRequest request = * GetAssetRequest.newBuilder() @@ -2492,8 +2741,11 @@ public final UnaryCallablegetAssetCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * AssetName parent = AssetName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]", "[ASSET]"); * for (Action element : dataplexServiceClient.listAssetActions(parent).iterateAll()) { @@ -2521,8 +2773,11 @@ public final ListAssetActionsPagedResponse listAssetActions(AssetName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = * AssetName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[ZONE]", "[ASSET]").toString(); @@ -2549,8 +2804,11 @@ public final ListAssetActionsPagedResponse listAssetActions(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListAssetActionsRequest request = * ListAssetActionsRequest.newBuilder() @@ -2579,8 +2837,11 @@ public final ListAssetActionsPagedResponse listAssetActions(ListAssetActionsRequ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListAssetActionsRequest request = * ListAssetActionsRequest.newBuilder() @@ -2610,8 +2871,11 @@ public final ListAssetActionsPagedResponse listAssetActions(ListAssetActionsRequ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListAssetActionsRequest request = * ListAssetActionsRequest.newBuilder() @@ -2648,8 +2912,11 @@ public final ListAssetActionsPagedResponse listAssetActions(ListAssetActionsRequ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * LakeName parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]"); * Task task = Task.newBuilder().build(); @@ -2682,8 +2949,11 @@ public final OperationFuturecreateTaskAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]").toString(); * Task task = Task.newBuilder().build(); @@ -2712,8 +2982,11 @@ public final OperationFuturecreateTaskAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateTaskRequest request = * CreateTaskRequest.newBuilder() @@ -2740,8 +3013,11 @@ public final OperationFuturecreateTaskAsync(CreateTask * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateTaskRequest request = * CreateTaskRequest.newBuilder() @@ -2769,8 +3045,11 @@ public final OperationFuturecreateTaskAsync(CreateTask * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateTaskRequest request = * CreateTaskRequest.newBuilder() @@ -2796,8 +3075,11 @@ public final UnaryCallablecreateTaskCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * Task task = Task.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -2823,8 +3105,11 @@ public final OperationFutureupdateTaskAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * UpdateTaskRequest request = * UpdateTaskRequest.newBuilder() @@ -2850,8 +3135,11 @@ public final OperationFutureupdateTaskAsync(UpdateTask * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * UpdateTaskRequest request = * UpdateTaskRequest.newBuilder() @@ -2878,8 +3166,11 @@ public final OperationFutureupdateTaskAsync(UpdateTask * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * UpdateTaskRequest request = * UpdateTaskRequest.newBuilder() @@ -2904,8 +3195,11 @@ public final UnaryCallableupdateTaskCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[TASK]"); * dataplexServiceClient.deleteTaskAsync(name).get(); @@ -2929,8 +3223,11 @@ public final OperationFuturedeleteTaskAsync(TaskName * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String name = TaskName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[TASK]").toString(); * dataplexServiceClient.deleteTaskAsync(name).get(); @@ -2953,8 +3250,11 @@ public final OperationFuturedeleteTaskAsync(String na * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * DeleteTaskRequest request = * DeleteTaskRequest.newBuilder() @@ -2979,8 +3279,11 @@ public final OperationFuturedeleteTaskAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * DeleteTaskRequest request = * DeleteTaskRequest.newBuilder() @@ -3005,8 +3308,11 @@ public final OperationFuturedeleteTaskAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * DeleteTaskRequest request = * DeleteTaskRequest.newBuilder() @@ -3029,8 +3335,11 @@ public final UnaryCallabledeleteTaskCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * LakeName parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]"); * for (Task element : dataplexServiceClient.listTasks(parent).iterateAll()) { @@ -3056,8 +3365,11 @@ public final ListTasksPagedResponse listTasks(LakeName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]").toString(); * for (Task element : dataplexServiceClient.listTasks(parent).iterateAll()) { @@ -3082,8 +3394,11 @@ public final ListTasksPagedResponse listTasks(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListTasksRequest request = * ListTasksRequest.newBuilder() @@ -3113,8 +3428,11 @@ public final ListTasksPagedResponse listTasks(ListTasksRequest 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListTasksRequest request = * ListTasksRequest.newBuilder() @@ -3143,8 +3461,11 @@ public final UnaryCallablelistTasksPa * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListTasksRequest request = * ListTasksRequest.newBuilder() @@ -3180,8 +3501,11 @@ public final UnaryCallablelistTasksCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[TASK]"); * Task response = dataplexServiceClient.getTask(name); @@ -3205,8 +3529,11 @@ public final Task getTask(TaskName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String name = TaskName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[TASK]").toString(); * Task response = dataplexServiceClient.getTask(name); @@ -3229,8 +3556,11 @@ public final Task getTask(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * GetTaskRequest request = * GetTaskRequest.newBuilder() @@ -3254,8 +3584,11 @@ public final Task getTask(GetTaskRequest 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * GetTaskRequest request = * GetTaskRequest.newBuilder() @@ -3278,8 +3611,11 @@ public final UnaryCallablegetTaskCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * TaskName parent = TaskName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[TASK]"); * for (Job element : dataplexServiceClient.listJobs(parent).iterateAll()) { @@ -3305,8 +3641,11 @@ public final ListJobsPagedResponse listJobs(TaskName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = TaskName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[TASK]").toString(); * for (Job element : dataplexServiceClient.listJobs(parent).iterateAll()) { @@ -3331,8 +3670,11 @@ public final ListJobsPagedResponse listJobs(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListJobsRequest request = * ListJobsRequest.newBuilder() @@ -3360,8 +3702,11 @@ public final ListJobsPagedResponse listJobs(ListJobsRequest 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListJobsRequest request = * ListJobsRequest.newBuilder() @@ -3388,8 +3733,11 @@ public final UnaryCallablelistJobsPaged * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * ListJobsRequest request = * ListJobsRequest.newBuilder() @@ -3423,8 +3771,11 @@ public final UnaryCallablelistJobsCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[TASK]", "[JOB]"); * Job response = dataplexServiceClient.getJob(name); @@ -3448,8 +3799,11 @@ public final Job getJob(JobName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String name = JobName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[TASK]", "[JOB]").toString(); * Job response = dataplexServiceClient.getJob(name); @@ -3472,8 +3826,11 @@ public final Job getJob(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * GetJobRequest request = * GetJobRequest.newBuilder() @@ -3498,8 +3855,11 @@ public final Job getJob(GetJobRequest 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * GetJobRequest request = * GetJobRequest.newBuilder() @@ -3523,8 +3883,11 @@ public final UnaryCallablegetJobCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[TASK]", "[JOB]"); * dataplexServiceClient.cancelJob(name); @@ -3548,8 +3911,11 @@ public final void cancelJob(JobName 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String name = JobName.of("[PROJECT]", "[LOCATION]", "[LAKE]", "[TASK]", "[JOB]").toString(); * dataplexServiceClient.cancelJob(name); @@ -3572,8 +3938,11 @@ public final void cancelJob(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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CancelJobRequest request = * CancelJobRequest.newBuilder() @@ -3598,8 +3967,11 @@ public final void cancelJob(CancelJobRequest 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 (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CancelJobRequest request = * CancelJobRequest.newBuilder() @@ -3623,8 +3995,11 @@ public final UnaryCallablecancelJobCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * LakeName parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]"); * Environment environment = Environment.newBuilder().build(); @@ -3666,8 +4041,11 @@ public final OperationFuturecreateEnvironmentAs * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * String parent = LakeName.of("[PROJECT]", "[LOCATION]", "[LAKE]").toString(); * Environment environment = Environment.newBuilder().build(); @@ -3709,8 +4087,11 @@ public final OperationFuturecreateEnvironmentAs * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateEnvironmentRequest request = * CreateEnvironmentRequest.newBuilder() @@ -3738,8 +4119,11 @@ public final OperationFuturecreateEnvironmentAs * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateEnvironmentRequest request = * CreateEnvironmentRequest.newBuilder() @@ -3767,8 +4151,11 @@ public final OperationFuturecreateEnvironmentAs * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * CreateEnvironmentRequest request = * CreateEnvironmentRequest.newBuilder() @@ -3795,8 +4182,11 @@ public final UnaryCallablecreateEnvironmen * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DataplexServiceClient dataplexServiceClient = DataplexServiceClient.create()) { * Environment environment = Environment.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -3827,8 +4217,11 @@ public final OperationFutureupdateEnvironmentAs *