diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/common/Category.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/common/Category.java deleted file mode 100644 index 2773aa43ef74..000000000000 --- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/common/Category.java +++ /dev/null @@ -1,232 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/dataexchange/common/common.proto - -package com.google.cloud.bigquery.dataexchange.common; - -/** - * - * - *
- * Listing categories. - *- * - * Protobuf enum {@code google.cloud.bigquery.dataexchange.common.Category} - */ -public enum Category implements com.google.protobuf.ProtocolMessageEnum { - /**
CATEGORY_UNSPECIFIED = 0;
*/
- CATEGORY_UNSPECIFIED(0),
- /** CATEGORY_OTHERS = 1;
*/
- CATEGORY_OTHERS(1),
- /** CATEGORY_ADVERTISING_AND_MARKETING = 2;
*/
- CATEGORY_ADVERTISING_AND_MARKETING(2),
- /** CATEGORY_COMMERCE = 3;
*/
- CATEGORY_COMMERCE(3),
- /** CATEGORY_CLIMATE_AND_ENVIRONMENT = 4;
*/
- CATEGORY_CLIMATE_AND_ENVIRONMENT(4),
- /** CATEGORY_DEMOGRAPHICS = 5;
*/
- CATEGORY_DEMOGRAPHICS(5),
- /** CATEGORY_ECONOMICS = 6;
*/
- CATEGORY_ECONOMICS(6),
- /** CATEGORY_EDUCATION = 7;
*/
- CATEGORY_EDUCATION(7),
- /** CATEGORY_ENERGY = 8;
*/
- CATEGORY_ENERGY(8),
- /** CATEGORY_FINANCIAL = 9;
*/
- CATEGORY_FINANCIAL(9),
- /** CATEGORY_GAMING = 10;
*/
- CATEGORY_GAMING(10),
- /** CATEGORY_GEOSPATIAL = 11;
*/
- CATEGORY_GEOSPATIAL(11),
- /** CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12;
*/
- CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE(12),
- /** CATEGORY_MEDIA = 13;
*/
- CATEGORY_MEDIA(13),
- /** CATEGORY_PUBLIC_SECTOR = 14;
*/
- CATEGORY_PUBLIC_SECTOR(14),
- /** CATEGORY_RETAIL = 15;
*/
- CATEGORY_RETAIL(15),
- /** CATEGORY_SPORTS = 16;
*/
- CATEGORY_SPORTS(16),
- /** CATEGORY_SCIENCE_AND_RESEARCH = 17;
*/
- CATEGORY_SCIENCE_AND_RESEARCH(17),
- /** CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18;
*/
- CATEGORY_TRANSPORTATION_AND_LOGISTICS(18),
- /** CATEGORY_TRAVEL_AND_TOURISM = 19;
*/
- CATEGORY_TRAVEL_AND_TOURISM(19),
- UNRECOGNIZED(-1),
- ;
-
- /** CATEGORY_UNSPECIFIED = 0;
*/
- public static final int CATEGORY_UNSPECIFIED_VALUE = 0;
- /** CATEGORY_OTHERS = 1;
*/
- public static final int CATEGORY_OTHERS_VALUE = 1;
- /** CATEGORY_ADVERTISING_AND_MARKETING = 2;
*/
- public static final int CATEGORY_ADVERTISING_AND_MARKETING_VALUE = 2;
- /** CATEGORY_COMMERCE = 3;
*/
- public static final int CATEGORY_COMMERCE_VALUE = 3;
- /** CATEGORY_CLIMATE_AND_ENVIRONMENT = 4;
*/
- public static final int CATEGORY_CLIMATE_AND_ENVIRONMENT_VALUE = 4;
- /** CATEGORY_DEMOGRAPHICS = 5;
*/
- public static final int CATEGORY_DEMOGRAPHICS_VALUE = 5;
- /** CATEGORY_ECONOMICS = 6;
*/
- public static final int CATEGORY_ECONOMICS_VALUE = 6;
- /** CATEGORY_EDUCATION = 7;
*/
- public static final int CATEGORY_EDUCATION_VALUE = 7;
- /** CATEGORY_ENERGY = 8;
*/
- public static final int CATEGORY_ENERGY_VALUE = 8;
- /** CATEGORY_FINANCIAL = 9;
*/
- public static final int CATEGORY_FINANCIAL_VALUE = 9;
- /** CATEGORY_GAMING = 10;
*/
- public static final int CATEGORY_GAMING_VALUE = 10;
- /** CATEGORY_GEOSPATIAL = 11;
*/
- public static final int CATEGORY_GEOSPATIAL_VALUE = 11;
- /** CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12;
*/
- public static final int CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE_VALUE = 12;
- /** CATEGORY_MEDIA = 13;
*/
- public static final int CATEGORY_MEDIA_VALUE = 13;
- /** CATEGORY_PUBLIC_SECTOR = 14;
*/
- public static final int CATEGORY_PUBLIC_SECTOR_VALUE = 14;
- /** CATEGORY_RETAIL = 15;
*/
- public static final int CATEGORY_RETAIL_VALUE = 15;
- /** CATEGORY_SPORTS = 16;
*/
- public static final int CATEGORY_SPORTS_VALUE = 16;
- /** CATEGORY_SCIENCE_AND_RESEARCH = 17;
*/
- public static final int CATEGORY_SCIENCE_AND_RESEARCH_VALUE = 17;
- /** CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18;
*/
- public static final int CATEGORY_TRANSPORTATION_AND_LOGISTICS_VALUE = 18;
- /** CATEGORY_TRAVEL_AND_TOURISM = 19;
*/
- public static final int CATEGORY_TRAVEL_AND_TOURISM_VALUE = 19;
-
- public final int getNumber() {
- if (this == UNRECOGNIZED) {
- throw new java.lang.IllegalArgumentException(
- "Can't get the number of an unknown enum value.");
- }
- return value;
- }
-
- /**
- * @param value The numeric wire value of the corresponding enum entry.
- * @return The enum associated with the given numeric wire value.
- * @deprecated Use {@link #forNumber(int)} instead.
- */
- @java.lang.Deprecated
- public static Category valueOf(int value) {
- return forNumber(value);
- }
-
- /**
- * @param value The numeric wire value of the corresponding enum entry.
- * @return The enum associated with the given numeric wire value.
- */
- public static Category forNumber(int value) {
- switch (value) {
- case 0:
- return CATEGORY_UNSPECIFIED;
- case 1:
- return CATEGORY_OTHERS;
- case 2:
- return CATEGORY_ADVERTISING_AND_MARKETING;
- case 3:
- return CATEGORY_COMMERCE;
- case 4:
- return CATEGORY_CLIMATE_AND_ENVIRONMENT;
- case 5:
- return CATEGORY_DEMOGRAPHICS;
- case 6:
- return CATEGORY_ECONOMICS;
- case 7:
- return CATEGORY_EDUCATION;
- case 8:
- return CATEGORY_ENERGY;
- case 9:
- return CATEGORY_FINANCIAL;
- case 10:
- return CATEGORY_GAMING;
- case 11:
- return CATEGORY_GEOSPATIAL;
- case 12:
- return CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE;
- case 13:
- return CATEGORY_MEDIA;
- case 14:
- return CATEGORY_PUBLIC_SECTOR;
- case 15:
- return CATEGORY_RETAIL;
- case 16:
- return CATEGORY_SPORTS;
- case 17:
- return CATEGORY_SCIENCE_AND_RESEARCH;
- case 18:
- return CATEGORY_TRANSPORTATION_AND_LOGISTICS;
- case 19:
- return CATEGORY_TRAVEL_AND_TOURISM;
- default:
- return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * String entryGroupId = "entryGroupId1228924712"; @@ -91,11 +88,8 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * DataCatalogSettings dataCatalogSettings = * DataCatalogSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -106,11 +100,8 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * DataCatalogSettings dataCatalogSettings = * DataCatalogSettings.newBuilder().setEndpoint(myEndpoint).build(); * DataCatalogClient dataCatalogClient = DataCatalogClient.create(dataCatalogSettings); @@ -120,11 +111,8 @@ * the wire: * *{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * DataCatalogSettings dataCatalogSettings = * DataCatalogSettings.newBuilder() * .setTransportChannelProvider( @@ -202,11 +190,8 @@ public DataCatalogStub getStub() { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * SearchCatalogRequest.Scope scope = SearchCatalogRequest.Scope.newBuilder().build(); * String query = "query107944136"; @@ -260,11 +245,8 @@ public final SearchCatalogPagedResponse searchCatalog( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * SearchCatalogRequest request = * SearchCatalogRequest.newBuilder() @@ -305,11 +287,8 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * SearchCatalogRequest request = * SearchCatalogRequest.newBuilder() @@ -351,11 +330,8 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * SearchCatalogRequest request = * SearchCatalogRequest.newBuilder() @@ -416,11 +392,8 @@ public final UnaryCallablesearchCa * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * String entryGroupId = "entryGroupId1228924712"; @@ -482,11 +455,8 @@ public final EntryGroup createEntryGroup( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * String entryGroupId = "entryGroupId1228924712"; @@ -548,11 +518,8 @@ public final EntryGroup createEntryGroup( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * CreateEntryGroupRequest request = * CreateEntryGroupRequest.newBuilder() @@ -603,11 +570,8 @@ public final EntryGroup createEntryGroup(CreateEntryGroupRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * CreateEntryGroupRequest request = * CreateEntryGroupRequest.newBuilder() @@ -633,11 +597,8 @@ public final UnaryCallablecreateEntryGroup * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"); * EntryGroup response = dataCatalogClient.getEntryGroup(name); @@ -660,11 +621,8 @@ public final EntryGroup getEntryGroup(EntryGroupName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString(); * EntryGroup response = dataCatalogClient.getEntryGroup(name); @@ -686,11 +644,8 @@ public final EntryGroup getEntryGroup(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"); * FieldMask readMask = FieldMask.newBuilder().build(); @@ -718,11 +673,8 @@ public final EntryGroup getEntryGroup(EntryGroupName name, FieldMask readMask) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString(); * FieldMask readMask = FieldMask.newBuilder().build(); @@ -747,11 +699,8 @@ public final EntryGroup getEntryGroup(String name, FieldMask readMask) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * GetEntryGroupRequest request = * GetEntryGroupRequest.newBuilder() @@ -776,11 +725,8 @@ public final EntryGroup getEntryGroup(GetEntryGroupRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * GetEntryGroupRequest request = * GetEntryGroupRequest.newBuilder() @@ -808,11 +754,8 @@ public final UnaryCallablegetEntryGroupCallab * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryGroup entryGroup = EntryGroup.newBuilder().build(); * EntryGroup response = dataCatalogClient.updateEntryGroup(entryGroup); @@ -839,11 +782,8 @@ public final EntryGroup updateEntryGroup(EntryGroup entryGroup) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryGroup entryGroup = EntryGroup.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -877,11 +817,8 @@ public final EntryGroup updateEntryGroup(EntryGroup entryGroup, FieldMask update *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * UpdateEntryGroupRequest request = * UpdateEntryGroupRequest.newBuilder() @@ -910,11 +847,8 @@ public final EntryGroup updateEntryGroup(UpdateEntryGroupRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * UpdateEntryGroupRequest request = * UpdateEntryGroupRequest.newBuilder() @@ -943,11 +877,8 @@ public final UnaryCallableupdateEntryGroup * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryGroupName name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"); * dataCatalogClient.deleteEntryGroup(name); @@ -974,11 +905,8 @@ public final void deleteEntryGroup(EntryGroupName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString(); * dataCatalogClient.deleteEntryGroup(name); @@ -1004,11 +932,8 @@ public final void deleteEntryGroup(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * DeleteEntryGroupRequest request = * DeleteEntryGroupRequest.newBuilder() @@ -1037,11 +962,8 @@ public final void deleteEntryGroup(DeleteEntryGroupRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * DeleteEntryGroupRequest request = * DeleteEntryGroupRequest.newBuilder() @@ -1065,11 +987,8 @@ public final UnaryCallabledeleteEntryGroupCalla * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * for (EntryGroup element : dataCatalogClient.listEntryGroups(parent).iterateAll()) { @@ -1097,11 +1016,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(LocationName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * for (EntryGroup element : dataCatalogClient.listEntryGroups(parent).iterateAll()) { @@ -1126,11 +1042,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ListEntryGroupsRequest request = * ListEntryGroupsRequest.newBuilder() @@ -1158,11 +1071,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(ListEntryGroupsRequest *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ListEntryGroupsRequest request = * ListEntryGroupsRequest.newBuilder() @@ -1191,11 +1101,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(ListEntryGroupsRequest *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ListEntryGroupsRequest request = * ListEntryGroupsRequest.newBuilder() @@ -1241,11 +1148,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(ListEntryGroupsRequest *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryGroupName parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"); * String entryId = "entryId-1591558867"; @@ -1290,11 +1194,8 @@ public final Entry createEntry(EntryGroupName parent, String entryId, Entry entr *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString(); * String entryId = "entryId-1591558867"; @@ -1339,11 +1240,8 @@ public final Entry createEntry(String parent, String entryId, Entry entry) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * CreateEntryRequest request = * CreateEntryRequest.newBuilder() @@ -1379,11 +1277,8 @@ public final Entry createEntry(CreateEntryRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * CreateEntryRequest request = * CreateEntryRequest.newBuilder() @@ -1412,11 +1307,8 @@ public final UnaryCallablecreateEntryCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * Entry entry = Entry.newBuilder().build(); * Entry response = dataCatalogClient.updateEntry(entry); @@ -1442,11 +1334,8 @@ public final Entry updateEntry(Entry entry) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * Entry entry = Entry.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -1501,11 +1390,8 @@ public final Entry updateEntry(Entry entry, FieldMask updateMask) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * UpdateEntryRequest request = * UpdateEntryRequest.newBuilder() @@ -1534,11 +1420,8 @@ public final Entry updateEntry(UpdateEntryRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * UpdateEntryRequest request = * UpdateEntryRequest.newBuilder() @@ -1569,11 +1452,8 @@ public final UnaryCallableupdateEntryCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"); * dataCatalogClient.deleteEntry(name); @@ -1603,11 +1483,8 @@ public final void deleteEntry(EntryName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString(); * dataCatalogClient.deleteEntry(name); @@ -1636,11 +1513,8 @@ public final void deleteEntry(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * DeleteEntryRequest request = * DeleteEntryRequest.newBuilder() @@ -1672,11 +1546,8 @@ public final void deleteEntry(DeleteEntryRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * DeleteEntryRequest request = * DeleteEntryRequest.newBuilder() @@ -1700,11 +1571,8 @@ public final UnaryCallabledeleteEntryCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"); * Entry response = dataCatalogClient.getEntry(name); @@ -1727,11 +1595,8 @@ public final Entry getEntry(EntryName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString(); * Entry response = dataCatalogClient.getEntry(name); @@ -1753,11 +1618,8 @@ public final Entry getEntry(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * GetEntryRequest request = * GetEntryRequest.newBuilder() @@ -1782,11 +1644,8 @@ public final Entry getEntry(GetEntryRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * GetEntryRequest request = * GetEntryRequest.newBuilder() @@ -1812,11 +1671,8 @@ public final UnaryCallablegetEntryCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * LookupEntryRequest request = LookupEntryRequest.newBuilder().build(); * Entry response = dataCatalogClient.lookupEntry(request); @@ -1839,11 +1695,8 @@ public final Entry lookupEntry(LookupEntryRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * LookupEntryRequest request = LookupEntryRequest.newBuilder().build(); * ApiFuturefuture = dataCatalogClient.lookupEntryCallable().futureCall(request); @@ -1867,11 +1720,8 @@ public final UnaryCallable lookupEntryCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryGroupName parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"); * for (Entry element : dataCatalogClient.listEntries(parent).iterateAll()) { @@ -1903,11 +1753,8 @@ public final ListEntriesPagedResponse listEntries(EntryGroupName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString(); * for (Entry element : dataCatalogClient.listEntries(parent).iterateAll()) { @@ -1936,11 +1783,8 @@ public final ListEntriesPagedResponse listEntries(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ListEntriesRequest request = * ListEntriesRequest.newBuilder() @@ -1973,11 +1817,8 @@ public final ListEntriesPagedResponse listEntries(ListEntriesRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ListEntriesRequest request = * ListEntriesRequest.newBuilder() @@ -2010,11 +1851,8 @@ public final ListEntriesPagedResponse listEntries(ListEntriesRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ListEntriesRequest request = * ListEntriesRequest.newBuilder() @@ -2053,11 +1891,8 @@ public final UnaryCallablelistEntriesC * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ModifyEntryOverviewRequest request = * ModifyEntryOverviewRequest.newBuilder() @@ -2087,11 +1922,8 @@ public final EntryOverview modifyEntryOverview(ModifyEntryOverviewRequest reques *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ModifyEntryOverviewRequest request = * ModifyEntryOverviewRequest.newBuilder() @@ -2122,11 +1954,8 @@ public final EntryOverview modifyEntryOverview(ModifyEntryOverviewRequest reques *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ModifyEntryContactsRequest request = * ModifyEntryContactsRequest.newBuilder() @@ -2156,11 +1985,8 @@ public final Contacts modifyEntryContacts(ModifyEntryContactsRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ModifyEntryContactsRequest request = * ModifyEntryContactsRequest.newBuilder() @@ -2190,11 +2016,8 @@ public final UnaryCallablemodifyEntryCont * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * String tagTemplateId = "tagTemplateId-1438776721"; @@ -2234,11 +2057,8 @@ public final TagTemplate createTagTemplate( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * String tagTemplateId = "tagTemplateId-1438776721"; @@ -2278,11 +2098,8 @@ public final TagTemplate createTagTemplate( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * CreateTagTemplateRequest request = * CreateTagTemplateRequest.newBuilder() @@ -2312,11 +2129,8 @@ public final TagTemplate createTagTemplate(CreateTagTemplateRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * CreateTagTemplateRequest request = * CreateTagTemplateRequest.newBuilder() @@ -2342,11 +2156,8 @@ public final UnaryCallablecreateTagTempl * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * TagTemplateName name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"); * TagTemplate response = dataCatalogClient.getTagTemplate(name); @@ -2369,11 +2180,8 @@ public final TagTemplate getTagTemplate(TagTemplateName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString(); * TagTemplate response = dataCatalogClient.getTagTemplate(name); @@ -2395,11 +2203,8 @@ public final TagTemplate getTagTemplate(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * GetTagTemplateRequest request = * GetTagTemplateRequest.newBuilder() @@ -2423,11 +2228,8 @@ public final TagTemplate getTagTemplate(GetTagTemplateRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * GetTagTemplateRequest request = * GetTagTemplateRequest.newBuilder() @@ -2458,11 +2260,8 @@ public final UnaryCallablegetTagTemplateCal * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * TagTemplate tagTemplate = TagTemplate.newBuilder().build(); * TagTemplate response = dataCatalogClient.updateTagTemplate(tagTemplate); @@ -2492,11 +2291,8 @@ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * TagTemplate tagTemplate = TagTemplate.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -2536,11 +2332,8 @@ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate, FieldMask up *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * UpdateTagTemplateRequest request = * UpdateTagTemplateRequest.newBuilder() @@ -2572,11 +2365,8 @@ public final TagTemplate updateTagTemplate(UpdateTagTemplateRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * UpdateTagTemplateRequest request = * UpdateTagTemplateRequest.newBuilder() @@ -2605,11 +2395,8 @@ public final UnaryCallableupdateTagTempl * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * TagTemplateName name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"); * boolean force = true; @@ -2642,11 +2429,8 @@ public final void deleteTagTemplate(TagTemplateName name, boolean force) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString(); * boolean force = true; @@ -2676,11 +2460,8 @@ public final void deleteTagTemplate(String name, boolean force) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * DeleteTagTemplateRequest request = * DeleteTagTemplateRequest.newBuilder() @@ -2709,11 +2490,8 @@ public final void deleteTagTemplate(DeleteTagTemplateRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * DeleteTagTemplateRequest request = * DeleteTagTemplateRequest.newBuilder() @@ -2741,11 +2519,8 @@ public final UnaryCallabledeleteTagTemplateCal * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * TagTemplateName parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]"); * String tagTemplateFieldId = "tagTemplateFieldId-1556835615"; @@ -2787,11 +2562,8 @@ public final TagTemplateField createTagTemplateField( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString(); * String tagTemplateFieldId = "tagTemplateFieldId-1556835615"; @@ -2833,11 +2605,8 @@ public final TagTemplateField createTagTemplateField( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * CreateTagTemplateFieldRequest request = * CreateTagTemplateFieldRequest.newBuilder() @@ -2867,11 +2636,8 @@ public final TagTemplateField createTagTemplateField(CreateTagTemplateFieldReque *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * CreateTagTemplateFieldRequest request = * CreateTagTemplateFieldRequest.newBuilder() @@ -2904,11 +2670,8 @@ public final TagTemplateField createTagTemplateField(CreateTagTemplateFieldReque *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * TagTemplateFieldName name = * TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"); @@ -2944,11 +2707,8 @@ public final TagTemplateField updateTagTemplateField( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = * TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]") @@ -2985,11 +2745,8 @@ public final TagTemplateField updateTagTemplateField( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * TagTemplateFieldName name = * TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"); @@ -3045,11 +2802,8 @@ public final TagTemplateField updateTagTemplateField( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = * TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]") @@ -3106,11 +2860,8 @@ public final TagTemplateField updateTagTemplateField( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * UpdateTagTemplateFieldRequest request = * UpdateTagTemplateFieldRequest.newBuilder() @@ -3144,11 +2895,8 @@ public final TagTemplateField updateTagTemplateField(UpdateTagTemplateFieldReque *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * UpdateTagTemplateFieldRequest request = * UpdateTagTemplateFieldRequest.newBuilder() @@ -3181,11 +2929,8 @@ public final TagTemplateField updateTagTemplateField(UpdateTagTemplateFieldReque *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * TagTemplateFieldName name = * TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"); @@ -3221,11 +2966,8 @@ public final TagTemplateField renameTagTemplateField( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = * TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]") @@ -3261,11 +3003,8 @@ public final TagTemplateField renameTagTemplateField(String name, String newTagT *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * RenameTagTemplateFieldRequest request = * RenameTagTemplateFieldRequest.newBuilder() @@ -3296,11 +3035,8 @@ public final TagTemplateField renameTagTemplateField(RenameTagTemplateFieldReque *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * RenameTagTemplateFieldRequest request = * RenameTagTemplateFieldRequest.newBuilder() @@ -3330,11 +3066,8 @@ public final TagTemplateField renameTagTemplateField(RenameTagTemplateFieldReque *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * TagTemplateFieldEnumValueName name = * TagTemplateFieldEnumValueName.of( @@ -3373,11 +3106,8 @@ public final TagTemplateField renameTagTemplateFieldEnumValue( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = * TagTemplateFieldEnumValueName.of( @@ -3417,11 +3147,8 @@ public final TagTemplateField renameTagTemplateFieldEnumValue( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * RenameTagTemplateFieldEnumValueRequest request = * RenameTagTemplateFieldEnumValueRequest.newBuilder() @@ -3456,11 +3183,8 @@ public final TagTemplateField renameTagTemplateFieldEnumValue( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * RenameTagTemplateFieldEnumValueRequest request = * RenameTagTemplateFieldEnumValueRequest.newBuilder() @@ -3498,11 +3222,8 @@ public final TagTemplateField renameTagTemplateFieldEnumValue( *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * TagTemplateFieldName name = * TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]"); @@ -3537,11 +3258,8 @@ public final void deleteTagTemplateField(TagTemplateFieldName name, boolean forc *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = * TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]") @@ -3574,11 +3292,8 @@ public final void deleteTagTemplateField(String name, boolean force) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * DeleteTagTemplateFieldRequest request = * DeleteTagTemplateFieldRequest.newBuilder() @@ -3610,11 +3325,8 @@ public final void deleteTagTemplateField(DeleteTagTemplateFieldRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * DeleteTagTemplateFieldRequest request = * DeleteTagTemplateFieldRequest.newBuilder() @@ -3655,11 +3367,8 @@ public final void deleteTagTemplateField(DeleteTagTemplateFieldRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryName parent = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"); * Tag tag = Tag.newBuilder().build(); @@ -3704,11 +3413,8 @@ public final Tag createTag(EntryName parent, Tag tag) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String parent = * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString(); @@ -3750,11 +3456,8 @@ public final Tag createTag(String parent, Tag tag) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * CreateTagRequest request = * CreateTagRequest.newBuilder() @@ -3793,11 +3496,8 @@ public final Tag createTag(CreateTagRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * CreateTagRequest request = * CreateTagRequest.newBuilder() @@ -3822,11 +3522,8 @@ public final UnaryCallablecreateTagCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * Tag tag = Tag.newBuilder().build(); * Tag response = dataCatalogClient.updateTag(tag); @@ -3848,11 +3545,8 @@ public final Tag updateTag(Tag tag) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * Tag tag = Tag.newBuilder().build(); * FieldMask updateMask = FieldMask.newBuilder().build(); @@ -3880,11 +3574,8 @@ public final Tag updateTag(Tag tag, FieldMask updateMask) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * UpdateTagRequest request = * UpdateTagRequest.newBuilder() @@ -3909,11 +3600,8 @@ public final Tag updateTag(UpdateTagRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * UpdateTagRequest request = * UpdateTagRequest.newBuilder() @@ -3937,11 +3625,8 @@ public final UnaryCallableupdateTagCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"); * dataCatalogClient.deleteTag(name); @@ -3964,11 +3649,8 @@ public final void deleteTag(EntryName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString(); * dataCatalogClient.deleteTag(name); @@ -3990,11 +3672,8 @@ public final void deleteTag(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * DeleteTagRequest request = * DeleteTagRequest.newBuilder() @@ -4019,11 +3698,8 @@ public final void deleteTag(DeleteTagRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * DeleteTagRequest request = * DeleteTagRequest.newBuilder() @@ -4048,11 +3724,8 @@ public final UnaryCallabledeleteTagCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryName parent = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"); * for (Tag element : dataCatalogClient.listTags(parent).iterateAll()) { @@ -4081,11 +3754,8 @@ public final ListTagsPagedResponse listTags(EntryName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String parent = * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString(); @@ -4114,11 +3784,8 @@ public final ListTagsPagedResponse listTags(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ListTagsRequest request = * ListTagsRequest.newBuilder() @@ -4148,11 +3815,8 @@ public final ListTagsPagedResponse listTags(ListTagsRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ListTagsRequest request = * ListTagsRequest.newBuilder() @@ -4181,11 +3845,8 @@ public final UnaryCallablelistTagsPaged * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ListTagsRequest request = * ListTagsRequest.newBuilder() @@ -4221,11 +3882,8 @@ public final UnaryCallablelistTagsCallable() * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"); * StarEntryResponse response = dataCatalogClient.starEntry(name); @@ -4249,11 +3907,8 @@ public final StarEntryResponse starEntry(EntryName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString(); * StarEntryResponse response = dataCatalogClient.starEntry(name); @@ -4276,11 +3931,8 @@ public final StarEntryResponse starEntry(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * StarEntryRequest request = * StarEntryRequest.newBuilder() @@ -4306,11 +3958,8 @@ public final StarEntryResponse starEntry(StarEntryRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * StarEntryRequest request = * StarEntryRequest.newBuilder() @@ -4336,11 +3985,8 @@ public final UnaryCallablestarEntryCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * EntryName name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"); * UnstarEntryResponse response = dataCatalogClient.unstarEntry(name); @@ -4364,11 +4010,8 @@ public final UnstarEntryResponse unstarEntry(EntryName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString(); * UnstarEntryResponse response = dataCatalogClient.unstarEntry(name); @@ -4391,11 +4034,8 @@ public final UnstarEntryResponse unstarEntry(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * UnstarEntryRequest request = * UnstarEntryRequest.newBuilder() @@ -4421,11 +4061,8 @@ public final UnstarEntryResponse unstarEntry(UnstarEntryRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * UnstarEntryRequest request = * UnstarEntryRequest.newBuilder() @@ -4463,11 +4100,8 @@ public final UnaryCallableunstarEntryC * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ResourceName resource = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]"); * Policy policy = Policy.newBuilder().build(); @@ -4511,11 +4145,8 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String resource = * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString(); @@ -4557,11 +4188,8 @@ public final Policy setIamPolicy(String resource, Policy policy) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() @@ -4600,11 +4228,8 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() @@ -4649,11 +4274,8 @@ public final UnaryCallablesetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]"); * Policy response = dataCatalogClient.getIamPolicy(resource); @@ -4699,11 +4321,8 @@ public final Policy getIamPolicy(ResourceName resource) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * String resource = * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString(); @@ -4747,11 +4366,8 @@ public final Policy getIamPolicy(String resource) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() @@ -4797,11 +4413,8 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() @@ -4838,11 +4451,8 @@ public final UnaryCallablegetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() @@ -4880,11 +4490,8 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java index fed650761f00..54fd2ec33576 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogSettings.java @@ -62,16 +62,16 @@ *For example, to set the total timeout of createEntryGroup to 30 seconds: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * DataCatalogSettings.Builder dataCatalogSettingsBuilder = DataCatalogSettings.newBuilder(); * dataCatalogSettingsBuilder * .createEntryGroupSettings() * .setRetrySettings( - * dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder() + * dataCatalogSettingsBuilder + * .createEntryGroupSettings() + * .getRetrySettings() + * .toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * DataCatalogSettings dataCatalogSettings = dataCatalogSettingsBuilder.build(); diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java index acaf9351bfba..2b92316a2e2f 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java @@ -50,11 +50,8 @@ * calls that map to API methods. Sample code to get started: * *{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * Taxonomy taxonomy = Taxonomy.newBuilder().build(); @@ -92,11 +89,8 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * PolicyTagManagerSettings policyTagManagerSettings = * PolicyTagManagerSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -108,11 +102,8 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * PolicyTagManagerSettings policyTagManagerSettings = * PolicyTagManagerSettings.newBuilder().setEndpoint(myEndpoint).build(); * PolicyTagManagerClient policyTagManagerClient = @@ -123,11 +114,8 @@ * the wire: * *{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * PolicyTagManagerSettings policyTagManagerSettings = * PolicyTagManagerSettings.newBuilder() * .setTransportChannelProvider( @@ -198,11 +186,8 @@ public PolicyTagManagerStub getStub() { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * Taxonomy taxonomy = Taxonomy.newBuilder().build(); @@ -232,11 +217,8 @@ public final Taxonomy createTaxonomy(LocationName parent, Taxonomy taxonomy) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * Taxonomy taxonomy = Taxonomy.newBuilder().build(); @@ -263,11 +245,8 @@ public final Taxonomy createTaxonomy(String parent, Taxonomy taxonomy) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * CreateTaxonomyRequest request = * CreateTaxonomyRequest.newBuilder() @@ -294,11 +273,8 @@ public final Taxonomy createTaxonomy(CreateTaxonomyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * CreateTaxonomyRequest request = * CreateTaxonomyRequest.newBuilder() @@ -324,11 +300,8 @@ public final UnaryCallablecreateTaxonomyCallab * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * TaxonomyName name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]"); * policyTagManagerClient.deleteTaxonomy(name); @@ -353,11 +326,8 @@ public final void deleteTaxonomy(TaxonomyName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * String name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString(); * policyTagManagerClient.deleteTaxonomy(name); @@ -381,11 +351,8 @@ public final void deleteTaxonomy(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * DeleteTaxonomyRequest request = * DeleteTaxonomyRequest.newBuilder() @@ -410,11 +377,8 @@ public final void deleteTaxonomy(DeleteTaxonomyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * DeleteTaxonomyRequest request = * DeleteTaxonomyRequest.newBuilder() @@ -437,11 +401,8 @@ public final UnaryCallabledeleteTaxonomyCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * Taxonomy taxonomy = Taxonomy.newBuilder().build(); * Taxonomy response = policyTagManagerClient.updateTaxonomy(taxonomy); @@ -465,11 +426,8 @@ public final Taxonomy updateTaxonomy(Taxonomy taxonomy) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * UpdateTaxonomyRequest request = * UpdateTaxonomyRequest.newBuilder() @@ -494,11 +452,8 @@ public final Taxonomy updateTaxonomy(UpdateTaxonomyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * UpdateTaxonomyRequest request = * UpdateTaxonomyRequest.newBuilder() @@ -523,11 +478,8 @@ public final UnaryCallableupdateTaxonomyCallab * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) { @@ -554,11 +506,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(LocationName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); * for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) { @@ -582,11 +531,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * ListTaxonomiesRequest request = * ListTaxonomiesRequest.newBuilder() @@ -614,11 +560,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * ListTaxonomiesRequest request = * ListTaxonomiesRequest.newBuilder() @@ -647,11 +590,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * ListTaxonomiesRequest request = * ListTaxonomiesRequest.newBuilder() @@ -687,11 +627,8 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * TaxonomyName name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]"); * Taxonomy response = policyTagManagerClient.getTaxonomy(name); @@ -714,11 +651,8 @@ public final Taxonomy getTaxonomy(TaxonomyName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * String name = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString(); * Taxonomy response = policyTagManagerClient.getTaxonomy(name); @@ -740,11 +674,8 @@ public final Taxonomy getTaxonomy(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * GetTaxonomyRequest request = * GetTaxonomyRequest.newBuilder() @@ -768,11 +699,8 @@ public final Taxonomy getTaxonomy(GetTaxonomyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * GetTaxonomyRequest request = * GetTaxonomyRequest.newBuilder() @@ -795,11 +723,8 @@ public final UnaryCallablegetTaxonomyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * TaxonomyName parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]"); * PolicyTag policyTag = PolicyTag.newBuilder().build(); @@ -827,11 +752,8 @@ public final PolicyTag createPolicyTag(TaxonomyName parent, PolicyTag policyTag) *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString(); * PolicyTag policyTag = PolicyTag.newBuilder().build(); @@ -856,11 +778,8 @@ public final PolicyTag createPolicyTag(String parent, PolicyTag policyTag) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * CreatePolicyTagRequest request = * CreatePolicyTagRequest.newBuilder() @@ -885,11 +804,8 @@ public final PolicyTag createPolicyTag(CreatePolicyTagRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * CreatePolicyTagRequest request = * CreatePolicyTagRequest.newBuilder() @@ -920,11 +836,8 @@ public final UnaryCallablecreatePolicyTagCal * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * PolicyTagName name = * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]"); @@ -955,11 +868,8 @@ public final void deletePolicyTag(PolicyTagName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * String name = * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString(); @@ -989,11 +899,8 @@ public final void deletePolicyTag(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * DeletePolicyTagRequest request = * DeletePolicyTagRequest.newBuilder() @@ -1025,11 +932,8 @@ public final void deletePolicyTag(DeletePolicyTagRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * DeletePolicyTagRequest request = * DeletePolicyTagRequest.newBuilder() @@ -1055,11 +959,8 @@ public final UnaryCallabledeletePolicyTagCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * PolicyTag policyTag = PolicyTag.newBuilder().build(); * PolicyTag response = policyTagManagerClient.updatePolicyTag(policyTag); @@ -1083,11 +984,8 @@ public final PolicyTag updatePolicyTag(PolicyTag policyTag) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * UpdatePolicyTagRequest request = * UpdatePolicyTagRequest.newBuilder() @@ -1112,11 +1010,8 @@ public final PolicyTag updatePolicyTag(UpdatePolicyTagRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * UpdatePolicyTagRequest request = * UpdatePolicyTagRequest.newBuilder() @@ -1141,11 +1036,8 @@ public final UnaryCallableupdatePolicyTagCal * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * TaxonomyName parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]"); * for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) { @@ -1172,11 +1064,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(TaxonomyName parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString(); * for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) { @@ -1200,11 +1089,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(String parent) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * ListPolicyTagsRequest request = * ListPolicyTagsRequest.newBuilder() @@ -1232,11 +1118,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * ListPolicyTagsRequest request = * ListPolicyTagsRequest.newBuilder() @@ -1265,11 +1148,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * ListPolicyTagsRequest request = * ListPolicyTagsRequest.newBuilder() @@ -1305,11 +1185,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * PolicyTagName name = * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]"); @@ -1333,11 +1210,8 @@ public final PolicyTag getPolicyTag(PolicyTagName name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * String name = * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString(); @@ -1360,11 +1234,8 @@ public final PolicyTag getPolicyTag(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * GetPolicyTagRequest request = * GetPolicyTagRequest.newBuilder() @@ -1390,11 +1261,8 @@ public final PolicyTag getPolicyTag(GetPolicyTagRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * GetPolicyTagRequest request = * GetPolicyTagRequest.newBuilder() @@ -1420,11 +1288,8 @@ public final UnaryCallablegetPolicyTagCallable( * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() @@ -1451,11 +1316,8 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() @@ -1481,11 +1343,8 @@ public final UnaryCallablegetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() @@ -1513,11 +1372,8 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() @@ -1544,11 +1400,8 @@ public final UnaryCallablesetIamPolicyCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() @@ -1575,11 +1428,8 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java index a3efdeb1b072..7853e0f50598 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java @@ -35,11 +35,8 @@ * calls that map to API methods. Sample code to get started: * *{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient = * PolicyTagManagerSerializationClient.create()) { * ReplaceTaxonomyRequest request = @@ -81,11 +78,8 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings = * PolicyTagManagerSerializationSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -97,11 +91,8 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings = * PolicyTagManagerSerializationSettings.newBuilder().setEndpoint(myEndpoint).build(); * PolicyTagManagerSerializationClient policyTagManagerSerializationClient = @@ -112,11 +103,8 @@ * the wire: * *{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings = * PolicyTagManagerSerializationSettings.newBuilder() * .setTransportChannelProvider( @@ -199,11 +187,8 @@ public PolicyTagManagerSerializationStub getStub() { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient = * PolicyTagManagerSerializationClient.create()) { * ReplaceTaxonomyRequest request = @@ -238,11 +223,8 @@ public final Taxonomy replaceTaxonomy(ReplaceTaxonomyRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient = * PolicyTagManagerSerializationClient.create()) { * ReplaceTaxonomyRequest request = @@ -275,11 +257,8 @@ public final UnaryCallablereplaceTaxonomyCall * Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient = * PolicyTagManagerSerializationClient.create()) { * ImportTaxonomiesRequest request = @@ -312,11 +291,8 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient = * PolicyTagManagerSerializationClient.create()) { * ImportTaxonomiesRequest request = @@ -346,11 +322,8 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient = * PolicyTagManagerSerializationClient.create()) { * ExportTaxonomiesRequest request = @@ -381,11 +354,8 @@ public final ExportTaxonomiesResponse exportTaxonomies(ExportTaxonomiesRequest r *Sample code: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient = * PolicyTagManagerSerializationClient.create()) { * ExportTaxonomiesRequest request = diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java index 96004b38172f..773f663d882a 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java @@ -50,11 +50,8 @@ *For example, to set the total timeout of replaceTaxonomy to 30 seconds: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * PolicyTagManagerSerializationSettings.Builder policyTagManagerSerializationSettingsBuilder = * PolicyTagManagerSerializationSettings.newBuilder(); * policyTagManagerSerializationSettingsBuilder diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java index e4dce4dfc7d6..cedafe2a28c8 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSettings.java @@ -60,17 +60,17 @@ *For example, to set the total timeout of createTaxonomy to 30 seconds: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * PolicyTagManagerSettings.Builder policyTagManagerSettingsBuilder = * PolicyTagManagerSettings.newBuilder(); * policyTagManagerSettingsBuilder * .createTaxonomySettings() * .setRetrySettings( - * policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder() + * policyTagManagerSettingsBuilder + * .createTaxonomySettings() + * .getRetrySettings() + * .toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * PolicyTagManagerSettings policyTagManagerSettings = policyTagManagerSettingsBuilder.build(); diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java index 91abc7d9128a..6ac23331d1cb 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java @@ -25,11 +25,8 @@ *Sample for DataCatalogClient: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * String entryGroupId = "entryGroupId1228924712"; @@ -49,11 +46,8 @@ *Sample for PolicyTagManagerClient: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) { * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); * Taxonomy taxonomy = Taxonomy.newBuilder().build(); @@ -71,11 +65,8 @@ *Sample for PolicyTagManagerSerializationClient: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient = * PolicyTagManagerSerializationClient.create()) { * ReplaceTaxonomyRequest request = diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java index 8e5f40eed250..9cbbf2a38010 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/DataCatalogStubSettings.java @@ -122,17 +122,17 @@ *For example, to set the total timeout of createEntryGroup to 30 seconds: * *
{@code - * // This snippet has been automatically generated and should be regarded as a code template only. - * // It will require modifications to work: - * // - It may require correct/in-range values for request initialization. - * // - It may require specifying regional endpoints when creating the service client as shown in - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * DataCatalogStubSettings.Builder dataCatalogSettingsBuilder = * DataCatalogStubSettings.newBuilder(); * dataCatalogSettingsBuilder * .createEntryGroupSettings() * .setRetrySettings( - * dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder() + * dataCatalogSettingsBuilder + * .createEntryGroupSettings() + * .getRetrySettings() + * .toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * DataCatalogStubSettings dataCatalogSettings = dataCatalogSettingsBuilder.build(); diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java index 7a68d84e4679..ba38436fa15f 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/HttpJsonDataCatalogStub.java @@ -126,8 +126,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { }) .setRequestBodyExtractor( request -> - ProtoRestSerializer.create() - .toBody("*", request.toBuilder().build(), false)) + ProtoRestSerializer.create().toBody("*", request.toBuilder().build())) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -165,7 +164,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("entryGroup", request.getEntryGroup(), false)) + .toBody("entryGroup", request.getEntryGroup())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -237,7 +236,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("entryGroup", request.getEntryGroup(), false)) + .toBody("entryGroup", request.getEntryGroup())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -340,8 +339,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { return fields; }) .setRequestBodyExtractor( - request -> - ProtoRestSerializer.create().toBody("entry", request.getEntry(), false)) + request -> ProtoRestSerializer.create().toBody("entry", request.getEntry())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -375,8 +373,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { return fields; }) .setRequestBodyExtractor( - request -> - ProtoRestSerializer.create().toBody("entry", request.getEntry(), false)) + request -> ProtoRestSerializer.create().toBody("entry", request.getEntry())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -548,7 +545,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build(), false)) + .toBody("*", request.toBuilder().clearName().build())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -584,7 +581,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build(), false)) + .toBody("*", request.toBuilder().clearName().build())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -622,7 +619,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("tagTemplate", request.getTagTemplate(), false)) + .toBody("tagTemplate", request.getTagTemplate())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -693,7 +690,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("tagTemplate", request.getTagTemplate(), false)) + .toBody("tagTemplate", request.getTagTemplate())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -765,7 +762,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("tagTemplateField", request.getTagTemplateField(), false)) + .toBody("tagTemplateField", request.getTagTemplateField())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -802,7 +799,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("tagTemplateField", request.getTagTemplateField(), false)) + .toBody("tagTemplateField", request.getTagTemplateField())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -838,7 +835,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build(), false)) + .toBody("*", request.toBuilder().clearName().build())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -875,7 +872,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build(), false)) + .toBody("*", request.toBuilder().clearName().build())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -943,8 +940,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { return fields; }) .setRequestBodyExtractor( - request -> - ProtoRestSerializer.create().toBody("tag", request.getTag(), false)) + request -> ProtoRestSerializer.create().toBody("tag", request.getTag())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -979,8 +975,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { return fields; }) .setRequestBodyExtractor( - request -> - ProtoRestSerializer.create().toBody("tag", request.getTag(), false)) + request -> ProtoRestSerializer.create().toBody("tag", request.getTag())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1085,7 +1080,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build(), false)) + .toBody("*", request.toBuilder().clearName().build())) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -1121,7 +1116,7 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build(), false)) + .toBody("*", request.toBuilder().clearName().build())) .build()) .setResponseParser( ProtoMessageResponseParser.