{@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
- * String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* String entryGroupId = "entryGroupId1228924712";
* EntryGroup entryGroup = EntryGroup.newBuilder().build();
* EntryGroup response = dataCatalogClient.createEntryGroup(parent, entryGroupId, entryGroup);
@@ -493,7 +493,7 @@ public final EntryGroup createEntryGroup(
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateEntryGroupRequest request =
* CreateEntryGroupRequest.newBuilder()
- * .setParent(EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setEntryGroupId("entryGroupId1228924712")
* .setEntryGroup(EntryGroup.newBuilder().build())
* .build();
@@ -543,7 +543,7 @@ public final EntryGroup createEntryGroup(CreateEntryGroupRequest request) {
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateEntryGroupRequest request =
* CreateEntryGroupRequest.newBuilder()
- * .setParent(EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setEntryGroupId("entryGroupId1228924712")
* .setEntryGroup(EntryGroup.newBuilder().build())
* .build();
@@ -1607,6 +1607,10 @@ public final UnaryCallable lookupEntryCallable() {
/**
* Lists entries.
*
+ * Note: Currently, this method can list only custom entries. To get a list of both custom and
+ * automatically created entries, use
+ * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
+ *
*
Sample code:
*
*
{@code
@@ -1634,6 +1638,10 @@ public final ListEntriesPagedResponse listEntries(EntryGroupName parent) {
/**
* Lists entries.
*
+ * Note: Currently, this method can list only custom entries. To get a list of both custom and
+ * automatically created entries, use
+ * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
+ *
*
Sample code:
*
*
{@code
@@ -1658,6 +1666,10 @@ public final ListEntriesPagedResponse listEntries(String parent) {
/**
* Lists entries.
*
+ * Note: Currently, this method can list only custom entries. To get a list of both custom and
+ * automatically created entries, use
+ * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
+ *
*
Sample code:
*
*
{@code
@@ -1686,6 +1698,10 @@ public final ListEntriesPagedResponse listEntries(ListEntriesRequest request) {
/**
* Lists entries.
*
+ * Note: Currently, this method can list only custom entries. To get a list of both custom and
+ * automatically created entries, use
+ * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
+ *
*
Sample code:
*
*
{@code
@@ -1714,6 +1730,10 @@ public final ListEntriesPagedResponse listEntries(ListEntriesRequest request) {
/**
* Lists entries.
*
+ * Note: Currently, this method can list only custom entries. To get a list of both custom and
+ * automatically created entries, use
+ * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
+ *
*
Sample code:
*
*
{@code
@@ -1795,7 +1815,7 @@ public final TagTemplate createTagTemplate(
*
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
- * String parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* String tagTemplateId = "tagTemplateId-1438776721";
* TagTemplate tagTemplate = TagTemplate.newBuilder().build();
* TagTemplate response =
@@ -1836,7 +1856,7 @@ public final TagTemplate createTagTemplate(
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateTagTemplateRequest request =
* CreateTagTemplateRequest.newBuilder()
- * .setParent(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setTagTemplateId("tagTemplateId-1438776721")
* .setTagTemplate(TagTemplate.newBuilder().build())
* .build();
@@ -1865,7 +1885,7 @@ public final TagTemplate createTagTemplate(CreateTagTemplateRequest request) {
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateTagTemplateRequest request =
* CreateTagTemplateRequest.newBuilder()
- * .setParent(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setTagTemplateId("tagTemplateId-1438776721")
* .setTagTemplate(TagTemplate.newBuilder().build())
* .build();
@@ -2021,9 +2041,12 @@ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate) {
*
* @param tagTemplate Required. The template to update. The `name` field must be set.
* @param updateMask Names of fields whose values to overwrite on a tag template. Currently, only
- * `display_name` can be overwritten.
+ * `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields are overwritten. If such
* fields are non-required and omitted in the request body, their values are emptied.
+ *
Note: Updating the `is_publicly_readable` field may require up to 12 hours to take
+ * effect in search results. Additionally, it also requires the `tagTemplates.getIamPolicy`
+ * and `tagTemplates.setIamPolicy` permissions.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final TagTemplate updateTagTemplate(TagTemplate tagTemplate, FieldMask updateMask) {
@@ -2623,7 +2646,7 @@ public final TagTemplateField updateTagTemplateField(UpdateTagTemplateFieldReque
* }
* }
*
- * @param name Required. The name of the tag template.
+ * @param name Required. The name of the tag template field.
* @param newTagTemplateFieldId Required. The new ID of this tag template field. For example,
* `my_new_field`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -2659,7 +2682,7 @@ public final TagTemplateField renameTagTemplateField(
* }
* }
*
- * @param name Required. The name of the tag template.
+ * @param name Required. The name of the tag template field.
* @param newTagTemplateFieldId Required. The new ID of this tag template field. For example,
* `my_new_field`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -3014,9 +3037,9 @@ public final void deleteTagTemplateField(DeleteTagTemplateFieldRequest request)
*
*
* - An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * ``projects.locations.entryGroups.entries.tags.create``.
+ * `projects.locations.entryGroups.entries.tags.create`.
*
- Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method name is
- * ``projects.locations.entryGroups.tags.create``.
+ * `projects.locations.entryGroups.tags.create`.
*
*
* Note: The project identified by the `parent` parameter for the [tag]
@@ -3058,9 +3081,9 @@ public final Tag createTag(TagName parent, Tag tag) {
*
*
* - An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * ``projects.locations.entryGroups.entries.tags.create``.
+ * `projects.locations.entryGroups.entries.tags.create`.
*
- Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method name is
- * ``projects.locations.entryGroups.tags.create``.
+ * `projects.locations.entryGroups.tags.create`.
*
*
* Note: The project identified by the `parent` parameter for the [tag]
@@ -3099,9 +3122,9 @@ public final Tag createTag(String parent, Tag tag) {
*
*
* - An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * ``projects.locations.entryGroups.entries.tags.create``.
+ * `projects.locations.entryGroups.entries.tags.create`.
*
- Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method name is
- * ``projects.locations.entryGroups.tags.create``.
+ * `projects.locations.entryGroups.tags.create`.
*
*
* Note: The project identified by the `parent` parameter for the [tag]
@@ -3138,9 +3161,9 @@ public final Tag createTag(CreateTagRequest request) {
*
*
* - An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * ``projects.locations.entryGroups.entries.tags.create``.
+ * `projects.locations.entryGroups.entries.tags.create`.
*
- Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method name is
- * ``projects.locations.entryGroups.tags.create``.
+ * `projects.locations.entryGroups.tags.create`.
*
*
* Note: The project identified by the `parent` parameter for the [tag]
@@ -3295,8 +3318,7 @@ public final void deleteTag(EntryName name) {
*
*
{@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
- * String name =
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]").toString();
+ * String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
* dataCatalogClient.deleteTag(name);
* }
* }
@@ -3320,8 +3342,7 @@ public final void deleteTag(String name) {
* DeleteTagRequest request =
* DeleteTagRequest.newBuilder()
* .setName(
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
- * .toString())
+ * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
* .build();
* dataCatalogClient.deleteTag(request);
* }
@@ -3345,8 +3366,7 @@ public final void deleteTag(DeleteTagRequest request) {
* DeleteTagRequest request =
* DeleteTagRequest.newBuilder()
* .setName(
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
- * .toString())
+ * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
* .build();
* ApiFuture future = dataCatalogClient.deleteTagCallable().futureCall(request);
* // Do something.
@@ -3394,7 +3414,7 @@ public final ListTagsPagedResponse listTags(EntryName parent) {
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* String parent =
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]").toString();
+ * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
* for (Tag element : dataCatalogClient.listTags(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -3423,8 +3443,7 @@ public final ListTagsPagedResponse listTags(String parent) {
* ListTagsRequest request =
* ListTagsRequest.newBuilder()
* .setParent(
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
- * .toString())
+ * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3452,8 +3471,7 @@ public final ListTagsPagedResponse listTags(ListTagsRequest request) {
* ListTagsRequest request =
* ListTagsRequest.newBuilder()
* .setParent(
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
- * .toString())
+ * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3480,8 +3498,7 @@ public final UnaryCallable listTagsPaged
* ListTagsRequest request =
* ListTagsRequest.newBuilder()
* .setParent(
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
- * .toString())
+ * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java
index 838ed477..f400f95f 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java
@@ -199,7 +199,7 @@ public final Taxonomy createTaxonomy(LocationName parent, Taxonomy taxonomy) {
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Taxonomy taxonomy = Taxonomy.newBuilder().build();
* Taxonomy response = policyTagManagerClient.createTaxonomy(parent, taxonomy);
* }
@@ -227,7 +227,7 @@ public final Taxonomy createTaxonomy(String parent, Taxonomy taxonomy) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreateTaxonomyRequest request =
* CreateTaxonomyRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setTaxonomy(Taxonomy.newBuilder().build())
* .build();
* Taxonomy response = policyTagManagerClient.createTaxonomy(request);
@@ -253,7 +253,7 @@ public final Taxonomy createTaxonomy(CreateTaxonomyRequest request) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreateTaxonomyRequest request =
* CreateTaxonomyRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setTaxonomy(Taxonomy.newBuilder().build())
* .build();
* ApiFuture future =
@@ -466,7 +466,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(LocationName parent) {
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -491,7 +491,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(String parent) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListTaxonomiesRequest request =
* ListTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -518,7 +518,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListTaxonomiesRequest request =
* ListTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -546,7 +546,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListTaxonomiesRequest request =
* ListTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -673,8 +673,7 @@ public final UnaryCallable getTaxonomyCallable() {
* }
* }
*
- * @param parent Required. Resource name of the taxonomy that the policy tag will belong to.<br
- * /><br />
+ * @param parent Required. Resource name of the taxonomy that the policy tag will belong to.
* @param policyTag The policy tag to create.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -695,15 +694,13 @@ public final PolicyTag createPolicyTag(TaxonomyName parent, PolicyTag policyTag)
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent =
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
+ * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
* PolicyTag policyTag = PolicyTag.newBuilder().build();
* PolicyTag response = policyTagManagerClient.createPolicyTag(parent, policyTag);
* }
* }
*
- * @param parent Required. Resource name of the taxonomy that the policy tag will belong to.<br
- * /><br />
+ * @param parent Required. Resource name of the taxonomy that the policy tag will belong to.
* @param policyTag The policy tag to create.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -723,9 +720,7 @@ public final PolicyTag createPolicyTag(String parent, PolicyTag policyTag) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreatePolicyTagRequest request =
* CreatePolicyTagRequest.newBuilder()
- * .setParent(
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
- * .toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPolicyTag(PolicyTag.newBuilder().build())
* .build();
* PolicyTag response = policyTagManagerClient.createPolicyTag(request);
@@ -749,9 +744,7 @@ public final PolicyTag createPolicyTag(CreatePolicyTagRequest request) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreatePolicyTagRequest request =
* CreatePolicyTagRequest.newBuilder()
- * .setParent(
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
- * .toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPolicyTag(PolicyTag.newBuilder().build())
* .build();
* ApiFuture future =
@@ -991,8 +984,7 @@ public final ListPolicyTagsPagedResponse listPolicyTags(TaxonomyName parent) {
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent =
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
+ * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
* for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -1017,9 +1009,7 @@ public final ListPolicyTagsPagedResponse listPolicyTags(String parent) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListPolicyTagsRequest request =
* ListPolicyTagsRequest.newBuilder()
- * .setParent(
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
- * .toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1046,9 +1036,7 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListPolicyTagsRequest request =
* ListPolicyTagsRequest.newBuilder()
- * .setParent(
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
- * .toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1076,9 +1064,7 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListPolicyTagsRequest request =
* ListPolicyTagsRequest.newBuilder()
- * .setParent(
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
- * .toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java
index 6274436f..3a5dfd9a 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java
@@ -239,7 +239,7 @@ public final UnaryCallable replaceTaxonomyCall
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .build();
* ImportTaxonomiesResponse response =
* policyTagManagerSerializationClient.importTaxonomies(request);
@@ -271,7 +271,7 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .build();
* ApiFuture future =
* policyTagManagerSerializationClient.importTaxonomiesCallable().futureCall(request);
@@ -300,7 +300,7 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
* PolicyTagManagerSerializationClient.create()) {
* ExportTaxonomiesRequest request =
* ExportTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .addAllTaxonomies(new ArrayList())
* .build();
* ExportTaxonomiesResponse response =
@@ -330,7 +330,7 @@ public final ExportTaxonomiesResponse exportTaxonomies(ExportTaxonomiesRequest r
* PolicyTagManagerSerializationClient.create()) {
* ExportTaxonomiesRequest request =
* ExportTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .addAllTaxonomies(new ArrayList())
* .build();
* ApiFuture future =
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java
index a7b928d2..049269cd 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java
@@ -393,7 +393,7 @@ public final EntryGroup createEntryGroup(
*
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
- * String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* String entryGroupId = "entryGroupId1228924712";
* EntryGroup entryGroup = EntryGroup.newBuilder().build();
* EntryGroup response = dataCatalogClient.createEntryGroup(parent, entryGroupId, entryGroup);
@@ -437,7 +437,7 @@ public final EntryGroup createEntryGroup(
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateEntryGroupRequest request =
* CreateEntryGroupRequest.newBuilder()
- * .setParent(EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setEntryGroupId("entryGroupId1228924712")
* .setEntryGroup(EntryGroup.newBuilder().build())
* .build();
@@ -466,7 +466,7 @@ public final EntryGroup createEntryGroup(CreateEntryGroupRequest request) {
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateEntryGroupRequest request =
* CreateEntryGroupRequest.newBuilder()
- * .setParent(EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setEntryGroupId("entryGroupId1228924712")
* .setEntryGroup(EntryGroup.newBuilder().build())
* .build();
@@ -1693,7 +1693,7 @@ public final TagTemplate createTagTemplate(
*
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
- * String parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* String tagTemplateId = "tagTemplateId-1438776721";
* TagTemplate tagTemplate = TagTemplate.newBuilder().build();
* TagTemplate response =
@@ -1736,7 +1736,7 @@ public final TagTemplate createTagTemplate(
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateTagTemplateRequest request =
* CreateTagTemplateRequest.newBuilder()
- * .setParent(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setTagTemplateId("tagTemplateId-1438776721")
* .setTagTemplate(TagTemplate.newBuilder().build())
* .build();
@@ -1764,7 +1764,7 @@ public final TagTemplate createTagTemplate(CreateTagTemplateRequest request) {
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateTagTemplateRequest request =
* CreateTagTemplateRequest.newBuilder()
- * .setParent(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setTagTemplateId("tagTemplateId-1438776721")
* .setTagTemplate(TagTemplate.newBuilder().build())
* .build();
@@ -3009,8 +3009,7 @@ public final void deleteTag(EntryName name) {
*
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
- * String name =
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]").toString();
+ * String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
* dataCatalogClient.deleteTag(name);
* }
* }
@@ -3038,8 +3037,7 @@ public final void deleteTag(String name) {
* DeleteTagRequest request =
* DeleteTagRequest.newBuilder()
* .setName(
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
- * .toString())
+ * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
* .build();
* dataCatalogClient.deleteTag(request);
* }
@@ -3063,8 +3061,7 @@ public final void deleteTag(DeleteTagRequest request) {
* DeleteTagRequest request =
* DeleteTagRequest.newBuilder()
* .setName(
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
- * .toString())
+ * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
* .build();
* ApiFuture future = dataCatalogClient.deleteTagCallable().futureCall(request);
* // Do something.
@@ -3117,7 +3114,7 @@ public final ListTagsPagedResponse listTags(EntryName parent) {
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* String parent =
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]").toString();
+ * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
* for (Tag element : dataCatalogClient.listTags(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -3151,8 +3148,7 @@ public final ListTagsPagedResponse listTags(String parent) {
* ListTagsRequest request =
* ListTagsRequest.newBuilder()
* .setParent(
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
- * .toString())
+ * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3180,8 +3176,7 @@ public final ListTagsPagedResponse listTags(ListTagsRequest request) {
* ListTagsRequest request =
* ListTagsRequest.newBuilder()
* .setParent(
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
- * .toString())
+ * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3208,8 +3203,7 @@ public final UnaryCallable listTagsPaged
* ListTagsRequest request =
* ListTagsRequest.newBuilder()
* .setParent(
- * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
- * .toString())
+ * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java
index 4131823a..404ea595 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java
@@ -193,7 +193,7 @@ public final Taxonomy createTaxonomy(LocationName parent, Taxonomy taxonomy) {
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Taxonomy taxonomy = Taxonomy.newBuilder().build();
* Taxonomy response = policyTagManagerClient.createTaxonomy(parent, taxonomy);
* }
@@ -219,7 +219,7 @@ public final Taxonomy createTaxonomy(String parent, Taxonomy taxonomy) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreateTaxonomyRequest request =
* CreateTaxonomyRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setTaxonomy(Taxonomy.newBuilder().build())
* .build();
* Taxonomy response = policyTagManagerClient.createTaxonomy(request);
@@ -243,7 +243,7 @@ public final Taxonomy createTaxonomy(CreateTaxonomyRequest request) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreateTaxonomyRequest request =
* CreateTaxonomyRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setTaxonomy(Taxonomy.newBuilder().build())
* .build();
* ApiFuture future =
@@ -458,7 +458,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(LocationName parent) {
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -484,7 +484,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(String parent) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListTaxonomiesRequest request =
* ListTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -512,7 +512,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListTaxonomiesRequest request =
* ListTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -541,7 +541,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListTaxonomiesRequest request =
* ListTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -689,8 +689,7 @@ public final PolicyTag createPolicyTag(TaxonomyName parent, PolicyTag policyTag)
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent =
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
+ * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
* PolicyTag policyTag = PolicyTag.newBuilder().build();
* PolicyTag response = policyTagManagerClient.createPolicyTag(parent, policyTag);
* }
@@ -716,9 +715,7 @@ public final PolicyTag createPolicyTag(String parent, PolicyTag policyTag) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreatePolicyTagRequest request =
* CreatePolicyTagRequest.newBuilder()
- * .setParent(
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
- * .toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPolicyTag(PolicyTag.newBuilder().build())
* .build();
* PolicyTag response = policyTagManagerClient.createPolicyTag(request);
@@ -742,9 +739,7 @@ public final PolicyTag createPolicyTag(CreatePolicyTagRequest request) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreatePolicyTagRequest request =
* CreatePolicyTagRequest.newBuilder()
- * .setParent(
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
- * .toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPolicyTag(PolicyTag.newBuilder().build())
* .build();
* ApiFuture future =
@@ -960,8 +955,7 @@ public final ListPolicyTagsPagedResponse listPolicyTags(TaxonomyName parent) {
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent =
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
+ * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
* for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -986,9 +980,7 @@ public final ListPolicyTagsPagedResponse listPolicyTags(String parent) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListPolicyTagsRequest request =
* ListPolicyTagsRequest.newBuilder()
- * .setParent(
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
- * .toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1015,9 +1007,7 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListPolicyTagsRequest request =
* ListPolicyTagsRequest.newBuilder()
- * .setParent(
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
- * .toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1045,9 +1035,7 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListPolicyTagsRequest request =
* ListPolicyTagsRequest.newBuilder()
- * .setParent(
- * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
- * .toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java
index 5cc4bbf2..0c2aa59c 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java
@@ -38,7 +38,7 @@
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .build();
* ImportTaxonomiesResponse response =
* policyTagManagerSerializationClient.importTaxonomies(request);
@@ -165,7 +165,7 @@ public PolicyTagManagerSerializationStub getStub() {
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .build();
* ImportTaxonomiesResponse response =
* policyTagManagerSerializationClient.importTaxonomies(request);
@@ -192,7 +192,7 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .build();
* ApiFuture future =
* policyTagManagerSerializationClient.importTaxonomiesCallable().futureCall(request);
@@ -220,7 +220,7 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
* PolicyTagManagerSerializationClient.create()) {
* ExportTaxonomiesRequest request =
* ExportTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .addAllTaxonomies(new ArrayList())
* .build();
* ExportTaxonomiesResponse response =
@@ -249,7 +249,7 @@ public final ExportTaxonomiesResponse exportTaxonomies(ExportTaxonomiesRequest r
* PolicyTagManagerSerializationClient.create()) {
* ExportTaxonomiesRequest request =
* ExportTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .addAllTaxonomies(new ArrayList())
* .build();
* ApiFuture future =
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java
index 3ff2548a..c1d42e36 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java
@@ -60,7 +60,7 @@
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .build();
* ImportTaxonomiesResponse response =
* policyTagManagerSerializationClient.importTaxonomies(request);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java
index e822b804..28d5735d 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java
@@ -2433,7 +2433,7 @@ public void setIamPolicyTest() throws Exception {
.build();
mockDataCatalog.addResponse(expectedResponse);
- ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
+ ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
Policy policy = Policy.newBuilder().build();
Policy actualResponse = client.setIamPolicy(resource, policy);
@@ -2457,7 +2457,7 @@ public void setIamPolicyExceptionTest() throws Exception {
mockDataCatalog.addException(exception);
try {
- ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
+ ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
Policy policy = Policy.newBuilder().build();
client.setIamPolicy(resource, policy);
Assert.fail("No exception raised");
@@ -2519,7 +2519,7 @@ public void getIamPolicyTest() throws Exception {
.build();
mockDataCatalog.addResponse(expectedResponse);
- ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
+ ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
Policy actualResponse = client.getIamPolicy(resource);
Assert.assertEquals(expectedResponse, actualResponse);
@@ -2541,7 +2541,7 @@ public void getIamPolicyExceptionTest() throws Exception {
mockDataCatalog.addException(exception);
try {
- ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
+ ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
client.getIamPolicy(resource);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
@@ -2597,7 +2597,8 @@ public void testIamPermissionsTest() throws Exception {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.addAllPermissions(new ArrayList())
.build();
@@ -2624,7 +2625,8 @@ public void testIamPermissionsExceptionTest() throws Exception {
try {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.addAllPermissions(new ArrayList())
.build();
client.testIamPermissions(request);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java
index 9ef92347..02d9f82b 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java
@@ -862,7 +862,8 @@ public void getIamPolicyTest() throws Exception {
GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.setOptions(GetPolicyOptions.newBuilder().build())
.build();
@@ -889,7 +890,8 @@ public void getIamPolicyExceptionTest() throws Exception {
try {
GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.setOptions(GetPolicyOptions.newBuilder().build())
.build();
client.getIamPolicy(request);
@@ -911,7 +913,8 @@ public void setIamPolicyTest() throws Exception {
SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.setPolicy(Policy.newBuilder().build())
.build();
@@ -938,7 +941,8 @@ public void setIamPolicyExceptionTest() throws Exception {
try {
SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.setPolicy(Policy.newBuilder().build())
.build();
client.setIamPolicy(request);
@@ -956,7 +960,8 @@ public void testIamPermissionsTest() throws Exception {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.addAllPermissions(new ArrayList())
.build();
@@ -983,7 +988,8 @@ public void testIamPermissionsExceptionTest() throws Exception {
try {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.addAllPermissions(new ArrayList())
.build();
client.testIamPermissions(request);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java
index e3cad102..6535a1c5 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java
@@ -137,7 +137,7 @@ public void importTaxonomiesTest() throws Exception {
ImportTaxonomiesRequest request =
ImportTaxonomiesRequest.newBuilder()
- .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
.build();
ImportTaxonomiesResponse actualResponse = client.importTaxonomies(request);
@@ -164,7 +164,7 @@ public void importTaxonomiesExceptionTest() throws Exception {
try {
ImportTaxonomiesRequest request =
ImportTaxonomiesRequest.newBuilder()
- .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
.build();
client.importTaxonomies(request);
Assert.fail("No exception raised");
@@ -183,7 +183,7 @@ public void exportTaxonomiesTest() throws Exception {
ExportTaxonomiesRequest request =
ExportTaxonomiesRequest.newBuilder()
- .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
.addAllTaxonomies(new ArrayList())
.build();
@@ -211,7 +211,7 @@ public void exportTaxonomiesExceptionTest() throws Exception {
try {
ExportTaxonomiesRequest request =
ExportTaxonomiesRequest.newBuilder()
- .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
.addAllTaxonomies(new ArrayList())
.build();
client.exportTaxonomies(request);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java
index 44c813ae..9f98c773 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java
@@ -2278,7 +2278,7 @@ public void setIamPolicyTest() throws Exception {
.build();
mockDataCatalog.addResponse(expectedResponse);
- ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
+ ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
Policy policy = Policy.newBuilder().build();
Policy actualResponse = client.setIamPolicy(resource, policy);
@@ -2302,7 +2302,7 @@ public void setIamPolicyExceptionTest() throws Exception {
mockDataCatalog.addException(exception);
try {
- ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
+ ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
Policy policy = Policy.newBuilder().build();
client.setIamPolicy(resource, policy);
Assert.fail("No exception raised");
@@ -2364,7 +2364,7 @@ public void getIamPolicyTest() throws Exception {
.build();
mockDataCatalog.addResponse(expectedResponse);
- ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
+ ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
Policy actualResponse = client.getIamPolicy(resource);
Assert.assertEquals(expectedResponse, actualResponse);
@@ -2386,7 +2386,7 @@ public void getIamPolicyExceptionTest() throws Exception {
mockDataCatalog.addException(exception);
try {
- ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
+ ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
client.getIamPolicy(resource);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
@@ -2442,7 +2442,8 @@ public void testIamPermissionsTest() throws Exception {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.addAllPermissions(new ArrayList())
.build();
@@ -2469,7 +2470,8 @@ public void testIamPermissionsExceptionTest() throws Exception {
try {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.addAllPermissions(new ArrayList())
.build();
client.testIamPermissions(request);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java
index 6d3a6e72..ff757ad6 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java
@@ -852,7 +852,8 @@ public void getIamPolicyTest() throws Exception {
GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.setOptions(GetPolicyOptions.newBuilder().build())
.build();
@@ -879,7 +880,8 @@ public void getIamPolicyExceptionTest() throws Exception {
try {
GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.setOptions(GetPolicyOptions.newBuilder().build())
.build();
client.getIamPolicy(request);
@@ -901,7 +903,8 @@ public void setIamPolicyTest() throws Exception {
SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.setPolicy(Policy.newBuilder().build())
.build();
@@ -928,7 +931,8 @@ public void setIamPolicyExceptionTest() throws Exception {
try {
SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.setPolicy(Policy.newBuilder().build())
.build();
client.setIamPolicy(request);
@@ -946,7 +950,8 @@ public void testIamPermissionsTest() throws Exception {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.addAllPermissions(new ArrayList())
.build();
@@ -973,7 +978,8 @@ public void testIamPermissionsExceptionTest() throws Exception {
try {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setResource(
+ EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
.addAllPermissions(new ArrayList())
.build();
client.testIamPermissions(request);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java
index 94ab57c0..7994c7ab 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java
@@ -85,7 +85,7 @@ public void importTaxonomiesTest() throws Exception {
ImportTaxonomiesRequest request =
ImportTaxonomiesRequest.newBuilder()
- .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
.build();
ImportTaxonomiesResponse actualResponse = client.importTaxonomies(request);
@@ -111,7 +111,7 @@ public void importTaxonomiesExceptionTest() throws Exception {
try {
ImportTaxonomiesRequest request =
ImportTaxonomiesRequest.newBuilder()
- .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
.build();
client.importTaxonomies(request);
Assert.fail("No exception raised");
@@ -130,7 +130,7 @@ public void exportTaxonomiesTest() throws Exception {
ExportTaxonomiesRequest request =
ExportTaxonomiesRequest.newBuilder()
- .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
.addAllTaxonomies(new ArrayList())
.build();
@@ -158,7 +158,7 @@ public void exportTaxonomiesExceptionTest() throws Exception {
try {
ExportTaxonomiesRequest request =
ExportTaxonomiesRequest.newBuilder()
- .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
.addAllTaxonomies(new ArrayList())
.build();
client.exportTaxonomies(request);
diff --git a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
index 0b175e19..233da4d5 100644
--- a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
@@ -28,6 +28,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1/datacatalog.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class DataCatalogGrpc {
private DataCatalogGrpc() {}
@@ -1553,6 +1554,9 @@ public void lookupEntry(
*
*
* Lists entries.
+ * Note: Currently, this method can list only custom entries.
+ * To get a list of both custom and automatically created entries, use
+ * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
*
*/
public void listEntries(
@@ -1728,9 +1732,9 @@ public void deleteTagTemplateField(
*
* Creates a tag and assigns it to:
* * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * ``projects.locations.entryGroups.entries.tags.create``.
+ * `projects.locations.entryGroups.entries.tags.create`.
* * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
- * name is ``projects.locations.entryGroups.tags.create``.
+ * name is `projects.locations.entryGroups.tags.create`.
* Note: The project identified by the `parent` parameter for the [tag]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
* and the [tag template]
@@ -2304,6 +2308,9 @@ public void lookupEntry(
*
*
* Lists entries.
+ * Note: Currently, this method can list only custom entries.
+ * To get a list of both custom and automatically created entries, use
+ * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
*
*/
public void listEntries(
@@ -2499,9 +2506,9 @@ public void deleteTagTemplateField(
*
* Creates a tag and assigns it to:
* * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * ``projects.locations.entryGroups.entries.tags.create``.
+ * `projects.locations.entryGroups.entries.tags.create`.
* * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
- * name is ``projects.locations.entryGroups.tags.create``.
+ * name is `projects.locations.entryGroups.tags.create`.
* Note: The project identified by the `parent` parameter for the [tag]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
* and the [tag template]
@@ -2866,6 +2873,9 @@ public com.google.cloud.datacatalog.v1.Entry lookupEntry(
*
*
* Lists entries.
+ * Note: Currently, this method can list only custom entries.
+ * To get a list of both custom and automatically created entries, use
+ * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
*
*/
public com.google.cloud.datacatalog.v1.ListEntriesResponse listEntries(
@@ -3026,9 +3036,9 @@ public com.google.protobuf.Empty deleteTagTemplateField(
*
* Creates a tag and assigns it to:
* * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * ``projects.locations.entryGroups.entries.tags.create``.
+ * `projects.locations.entryGroups.entries.tags.create`.
* * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
- * name is ``projects.locations.entryGroups.tags.create``.
+ * name is `projects.locations.entryGroups.tags.create`.
* Note: The project identified by the `parent` parameter for the [tag]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
* and the [tag template]
@@ -3381,6 +3391,9 @@ protected DataCatalogFutureStub build(
*
*
* Lists entries.
+ * Note: Currently, this method can list only custom entries.
+ * To get a list of both custom and automatically created entries, use
+ * [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -3555,9 +3568,9 @@ protected DataCatalogFutureStub build(
*
* Creates a tag and assigns it to:
* * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * ``projects.locations.entryGroups.entries.tags.create``.
+ * `projects.locations.entryGroups.entries.tags.create`.
* * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
- * name is ``projects.locations.entryGroups.tags.create``.
+ * name is `projects.locations.entryGroups.tags.create`.
* Note: The project identified by the `parent` parameter for the [tag]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
* and the [tag template]
diff --git a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java
index 84f84e9c..ca0bd99f 100644
--- a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java
@@ -31,6 +31,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1/policytagmanager.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class PolicyTagManagerGrpc {
private PolicyTagManagerGrpc() {}
diff --git a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java
index 736db04a..34a64b7a 100644
--- a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java
@@ -29,6 +29,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class PolicyTagManagerSerializationGrpc {
private PolicyTagManagerSerializationGrpc() {}
diff --git a/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java b/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java
index 04c2e3bc..c52edd60 100644
--- a/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java
@@ -28,6 +28,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1beta1/datacatalog.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class DataCatalogGrpc {
private DataCatalogGrpc() {}
diff --git a/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java b/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java
index cfc4d133..2eb2f526 100644
--- a/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java
@@ -28,6 +28,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1beta1/policytagmanager.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class PolicyTagManagerGrpc {
private PolicyTagManagerGrpc() {}
diff --git a/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java b/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java
index 52db710d..d6d1ba0d 100644
--- a/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java
@@ -28,6 +28,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto")
+@io.grpc.stub.annotations.GrpcGenerated
public final class PolicyTagManagerSerializationGrpc {
private PolicyTagManagerSerializationGrpc() {}
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java
index 4bca0e50..92539271 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java
@@ -43,6 +43,7 @@ private BigQueryDateShardedSpec(com.google.protobuf.GeneratedMessageV3.Builder
private BigQueryDateShardedSpec() {
dataset_ = "";
tablePrefix_ = "";
+ latestShardResource_ = "";
}
@java.lang.Override
@@ -93,6 +94,13 @@ private BigQueryDateShardedSpec(
shardCount_ = input.readInt64();
break;
}
+ case 34:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ latestShardResource_ = s;
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -257,6 +265,55 @@ public long getShardCount() {
return shardCount_;
}
+ public static final int LATEST_SHARD_RESOURCE_FIELD_NUMBER = 4;
+ private volatile java.lang.Object latestShardResource_;
+ /**
+ *
+ *
+ *
+ * Output only. BigQuery resource name of the latest shard.
+ *
+ *
+ * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The latestShardResource.
+ */
+ @java.lang.Override
+ public java.lang.String getLatestShardResource() {
+ java.lang.Object ref = latestShardResource_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ latestShardResource_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. BigQuery resource name of the latest shard.
+ *
+ *
+ * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for latestShardResource.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getLatestShardResourceBytes() {
+ java.lang.Object ref = latestShardResource_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ latestShardResource_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -280,6 +337,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (shardCount_ != 0L) {
output.writeInt64(3, shardCount_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(latestShardResource_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, latestShardResource_);
+ }
unknownFields.writeTo(output);
}
@@ -298,6 +358,9 @@ public int getSerializedSize() {
if (shardCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, shardCount_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(latestShardResource_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, latestShardResource_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -317,6 +380,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getDataset().equals(other.getDataset())) return false;
if (!getTablePrefix().equals(other.getTablePrefix())) return false;
if (getShardCount() != other.getShardCount()) return false;
+ if (!getLatestShardResource().equals(other.getLatestShardResource())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -334,6 +398,8 @@ public int hashCode() {
hash = (53 * hash) + getTablePrefix().hashCode();
hash = (37 * hash) + SHARD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getShardCount());
+ hash = (37 * hash) + LATEST_SHARD_RESOURCE_FIELD_NUMBER;
+ hash = (53 * hash) + getLatestShardResource().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -489,6 +555,8 @@ public Builder clear() {
shardCount_ = 0L;
+ latestShardResource_ = "";
+
return this;
}
@@ -519,6 +587,7 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec buildPartial() {
result.dataset_ = dataset_;
result.tablePrefix_ = tablePrefix_;
result.shardCount_ = shardCount_;
+ result.latestShardResource_ = latestShardResource_;
onBuilt();
return result;
}
@@ -580,6 +649,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec
if (other.getShardCount() != 0L) {
setShardCount(other.getShardCount());
}
+ if (!other.getLatestShardResource().isEmpty()) {
+ latestShardResource_ = other.latestShardResource_;
+ onChanged();
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -909,6 +982,112 @@ public Builder clearShardCount() {
return this;
}
+ private java.lang.Object latestShardResource_ = "";
+ /**
+ *
+ *
+ *
+ * Output only. BigQuery resource name of the latest shard.
+ *
+ *
+ * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The latestShardResource.
+ */
+ public java.lang.String getLatestShardResource() {
+ java.lang.Object ref = latestShardResource_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ latestShardResource_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. BigQuery resource name of the latest shard.
+ *
+ *
+ * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for latestShardResource.
+ */
+ public com.google.protobuf.ByteString getLatestShardResourceBytes() {
+ java.lang.Object ref = latestShardResource_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ latestShardResource_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. BigQuery resource name of the latest shard.
+ *
+ *
+ * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The latestShardResource to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLatestShardResource(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ latestShardResource_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. BigQuery resource name of the latest shard.
+ *
+ *
+ * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearLatestShardResource() {
+
+ latestShardResource_ = getDefaultInstance().getLatestShardResource();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. BigQuery resource name of the latest shard.
+ *
+ *
+ * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for latestShardResource to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLatestShardResourceBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ latestShardResource_ = value;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java
index 99a2ec53..301c6bc5 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java
@@ -99,4 +99,29 @@ public interface BigQueryDateShardedSpecOrBuilder
* @return The shardCount.
*/
long getShardCount();
+
+ /**
+ *
+ *
+ *
+ * Output only. BigQuery resource name of the latest shard.
+ *
+ *
+ * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The latestShardResource.
+ */
+ java.lang.String getLatestShardResource();
+ /**
+ *
+ *
+ *
+ * Output only. BigQuery resource name of the latest shard.
+ *
+ *
+ * string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for latestShardResource.
+ */
+ com.google.protobuf.ByteString getLatestShardResourceBytes();
}
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java
index 51ae9e3e..b695bbf3 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java
@@ -36,19 +36,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n(google/cloud/datacatalog/v1/common.pro"
- + "to\022\033google.cloud.datacatalog.v1*m\n\020Integ"
- + "ratedSystem\022!\n\035INTEGRATED_SYSTEM_UNSPECI"
- + "FIED\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_PUBSUB\020\002\022\026"
- + "\n\022DATAPROC_METASTORE\020\003B\313\001\n\037com.google.cl"
- + "oud.datacatalog.v1P\001ZFgoogle.golang.org/"
- + "genproto/googleapis/cloud/datacatalog/v1"
- + ";datacatalog\370\001\001\252\002\033Google.Cloud.DataCatal"
- + "og.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036Go"
- + "ogle::Cloud::DataCatalog::V1b\006proto3"
+ + "to\022\033google.cloud.datacatalog.v1\032\037google/"
+ + "protobuf/timestamp.proto*m\n\020IntegratedSy"
+ + "stem\022!\n\035INTEGRATED_SYSTEM_UNSPECIFIED\020\000\022"
+ + "\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_PUBSUB\020\002\022\026\n\022DATAP"
+ + "ROC_METASTORE\020\003B\313\001\n\037com.google.cloud.dat"
+ + "acatalog.v1P\001ZFgoogle.golang.org/genprot"
+ + "o/googleapis/cloud/datacatalog/v1;dataca"
+ + "talog\370\001\001\252\002\033Google.Cloud.DataCatalog.V1\312\002"
+ + "\033Google\\Cloud\\DataCatalog\\V1\352\002\036Google::C"
+ + "loud::DataCatalog::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
+ com.google.protobuf.TimestampProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java
index 9b61940d..50fdccaa 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java
@@ -134,8 +134,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
- * />
+ * Required. Resource name of the taxonomy that the policy tag will belong to.
*
*
*
@@ -160,8 +159,7 @@ public java.lang.String getParent() {
*
*
*
- * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
- * />
+ * Required. Resource name of the taxonomy that the policy tag will belong to.
*
*
*
@@ -584,8 +582,7 @@ public Builder mergeFrom(
*
*
*
- * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
- * />
+ * Required. Resource name of the taxonomy that the policy tag will belong to.
*
*
*
@@ -609,8 +606,7 @@ public java.lang.String getParent() {
*
*
*
- * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
- * />
+ * Required. Resource name of the taxonomy that the policy tag will belong to.
*
*
*
@@ -634,8 +630,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
- * />
+ * Required. Resource name of the taxonomy that the policy tag will belong to.
*
*
*
@@ -658,8 +653,7 @@ public Builder setParent(java.lang.String value) {
*
*
*
- * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
- * />
+ * Required. Resource name of the taxonomy that the policy tag will belong to.
*
*
*
@@ -678,8 +672,7 @@ public Builder clearParent() {
*
*
*
- * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
- * />
+ * Required. Resource name of the taxonomy that the policy tag will belong to.
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java
index f723dfb7..c459a713 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java
@@ -27,8 +27,7 @@ public interface CreatePolicyTagRequestOrBuilder
*
*
*
- * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
- * />
+ * Required. Resource name of the taxonomy that the policy tag will belong to.
*
*
*
@@ -42,8 +41,7 @@ public interface CreatePolicyTagRequestOrBuilder
*
*
*
- * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
- * />
+ * Required. Resource name of the taxonomy that the policy tag will belong to.
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java
index 01fd8cf5..05ec163b 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java
@@ -165,8 +165,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Output only. Resource name of this policy tag in the URL format.
- * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
- * /><br />
+ * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -190,8 +189,7 @@ public java.lang.String getName() {
*
*
* Output only. Resource name of this policy tag in the URL format.
- * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
- * /><br />
+ * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -857,8 +855,7 @@ public Builder mergeFrom(
*
*
* Output only. Resource name of this policy tag in the URL format.
- * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
- * /><br />
+ * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -881,8 +878,7 @@ public java.lang.String getName() {
*
*
* Output only. Resource name of this policy tag in the URL format.
- * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
- * /><br />
+ * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -905,8 +901,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Output only. Resource name of this policy tag in the URL format.
- * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
- * /><br />
+ * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -928,8 +923,7 @@ public Builder setName(java.lang.String value) {
*
*
* Output only. Resource name of this policy tag in the URL format.
- * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
- * /><br />
+ * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -947,8 +941,7 @@ public Builder clearName() {
*
*
* Output only. Resource name of this policy tag in the URL format.
- * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
- * /><br />
+ * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java
index eac59b10..8a6ab903 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java
@@ -28,8 +28,7 @@ public interface PolicyTagOrBuilder
*
*
* Output only. Resource name of this policy tag in the URL format.
- * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
- * /><br />
+ * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -42,8 +41,7 @@ public interface PolicyTagOrBuilder
*
*
* Output only. Resource name of this policy tag in the URL format.
- * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
- * /><br />
+ * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java
index b1c71c1f..ad97bf32 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java
@@ -126,7 +126,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. The name of the tag template.
+ * Required. The name of the tag template field.
*
*
*
@@ -151,7 +151,7 @@ public java.lang.String getName() {
*
*
*
- * Required. The name of the tag template.
+ * Required. The name of the tag template field.
*
*
*
@@ -566,7 +566,7 @@ public Builder mergeFrom(
*
*
*
- * Required. The name of the tag template.
+ * Required. The name of the tag template field.
*
*
*
@@ -590,7 +590,7 @@ public java.lang.String getName() {
*
*
*
- * Required. The name of the tag template.
+ * Required. The name of the tag template field.
*
*
*
@@ -614,7 +614,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Required. The name of the tag template.
+ * Required. The name of the tag template field.
*
*
*
@@ -637,7 +637,7 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Required. The name of the tag template.
+ * Required. The name of the tag template field.
*
*
*
@@ -656,7 +656,7 @@ public Builder clearName() {
*
*
*
- * Required. The name of the tag template.
+ * Required. The name of the tag template field.
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java
index aeb042c3..488f6af0 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java
@@ -27,7 +27,7 @@ public interface RenameTagTemplateFieldRequestOrBuilder
*
*
*
- * Required. The name of the tag template.
+ * Required. The name of the tag template field.
*
*
*
@@ -41,7 +41,7 @@ public interface RenameTagTemplateFieldRequestOrBuilder
*
*
*
- * Required. The name of the tag template.
+ * Required. The name of the tag template field.
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java
index 2f79f238..968a281a 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java
@@ -44,7 +44,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "to\022\033google.cloud.datacatalog.v1\032\037google/"
+ "api/field_behavior.proto\032(google/cloud/d"
+ "atacatalog/v1/common.proto\032\037google/proto"
- + "buf/timestamp.proto\"\203\003\n\023SearchCatalogRes"
+ + "buf/timestamp.proto\"\256\003\n\023SearchCatalogRes"
+ "ult\022I\n\022search_result_type\030\001 \001(\0162-.google"
+ ".cloud.datacatalog.v1.SearchResultType\022\035"
+ "\n\025search_result_subtype\030\002 \001(\t\022\036\n\026relativ"
@@ -53,16 +53,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "tobuf.Timestamp\022O\n\021integrated_system\030\010 \001"
+ "(\0162-.google.cloud.datacatalog.v1.Integra"
+ "tedSystemB\003\340A\003H\000\022\037\n\025user_specified_syste"
- + "m\030\t \001(\tH\000\022\034\n\024fully_qualified_name\030\n \001(\tB"
- + "\010\n\006system*d\n\020SearchResultType\022\"\n\036SEARCH_"
- + "RESULT_TYPE_UNSPECIFIED\020\000\022\t\n\005ENTRY\020\001\022\020\n\014"
- + "TAG_TEMPLATE\020\002\022\017\n\013ENTRY_GROUP\020\003B\313\001\n\037com."
- + "google.cloud.datacatalog.v1P\001ZFgoogle.go"
- + "lang.org/genproto/googleapis/cloud/datac"
- + "atalog/v1;datacatalog\370\001\001\252\002\033Google.Cloud."
- + "DataCatalog.V1\312\002\033Google\\Cloud\\DataCatalo"
- + "g\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006p"
- + "roto3"
+ + "m\030\t \001(\tH\000\022\034\n\024fully_qualified_name\030\n \001(\t\022"
+ + "\024\n\014display_name\030\014 \001(\t\022\023\n\013description\030\r \001"
+ + "(\tB\010\n\006system*d\n\020SearchResultType\022\"\n\036SEAR"
+ + "CH_RESULT_TYPE_UNSPECIFIED\020\000\022\t\n\005ENTRY\020\001\022"
+ + "\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENTRY_GROUP\020\003B\313\001\n\037c"
+ + "om.google.cloud.datacatalog.v1P\001ZFgoogle"
+ + ".golang.org/genproto/googleapis/cloud/da"
+ + "tacatalog/v1;datacatalog\370\001\001\252\002\033Google.Clo"
+ + "ud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCat"
+ + "alog\\V1\352\002\036Google::Cloud::DataCatalog::V1"
+ + "b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -86,6 +87,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"IntegratedSystem",
"UserSpecifiedSystem",
"FullyQualifiedName",
+ "DisplayName",
+ "Description",
"System",
});
com.google.protobuf.ExtensionRegistry registry =
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
index 6c87e02a..e170f5e3 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
@@ -385,7 +385,7 @@ public interface ScopeOrBuilder
* in the search results. By default, they are included only if you have
* explicit permissions on them to view them. For example, if you are the
* owner.
- * Other scope fields, for example, ``include_org_ids``,
+ * Other scope fields, for example, `include_org_ids`,
* still restrict the returned public tag templates and at least one of
* them is required.
*
@@ -802,7 +802,7 @@ public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) {
* in the search results. By default, they are included only if you have
* explicit permissions on them to view them. For example, if you are the
* owner.
- * Other scope fields, for example, ``include_org_ids``,
+ * Other scope fields, for example, `include_org_ids`,
* still restrict the returned public tag templates and at least one of
* them is required.
*
@@ -1952,7 +1952,7 @@ public Builder addRestrictedLocationsBytes(com.google.protobuf.ByteString value)
* in the search results. By default, they are included only if you have
* explicit permissions on them to view them. For example, if you are the
* owner.
- * Other scope fields, for example, ``include_org_ids``,
+ * Other scope fields, for example, `include_org_ids`,
* still restrict the returned public tag templates and at least one of
* them is required.
*
@@ -1975,7 +1975,7 @@ public boolean getIncludePublicTagTemplates() {
* in the search results. By default, they are included only if you have
* explicit permissions on them to view them. For example, if you are the
* owner.
- * Other scope fields, for example, ``include_org_ids``,
+ * Other scope fields, for example, `include_org_ids`,
* still restrict the returned public tag templates and at least one of
* them is required.
*
@@ -2001,7 +2001,7 @@ public Builder setIncludePublicTagTemplates(boolean value) {
* in the search results. By default, they are included only if you have
* explicit permissions on them to view them. For example, if you are the
* owner.
- * Other scope fields, for example, ``include_org_ids``,
+ * Other scope fields, for example, `include_org_ids`,
* still restrict the returned public tag templates and at least one of
* them is required.
*
@@ -2142,7 +2142,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search
+ * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -2173,7 +2174,8 @@ public java.lang.String getQuery() {
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search
+ * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -2968,7 +2970,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search
+ * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -2998,7 +3001,8 @@ public java.lang.String getQuery() {
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search
+ * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -3028,7 +3032,8 @@ public com.google.protobuf.ByteString getQueryBytes() {
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search
+ * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -3057,7 +3062,8 @@ public Builder setQuery(java.lang.String value) {
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search
+ * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -3082,7 +3088,8 @@ public Builder clearQuery() {
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search
+ * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java
index 39689350..834594fa 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java
@@ -79,7 +79,8 @@ public interface SearchCatalogRequestOrBuilder
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search
+ * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -99,7 +100,8 @@ public interface SearchCatalogRequestOrBuilder
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search
+ * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java
index 2dc85d9c..586b2193 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java
@@ -44,6 +44,8 @@ private SearchCatalogResult() {
relativeResourceName_ = "";
linkedResource_ = "";
fullyQualifiedName_ = "";
+ displayName_ = "";
+ description_ = "";
}
@java.lang.Override
@@ -139,6 +141,20 @@ private SearchCatalogResult(
fullyQualifiedName_ = s;
break;
}
+ case 98:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ displayName_ = s;
+ break;
+ }
+ case 106:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ description_ = s;
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -670,6 +686,106 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() {
}
}
+ public static final int DISPLAY_NAME_FIELD_NUMBER = 12;
+ private volatile java.lang.Object displayName_;
+ /**
+ *
+ *
+ *
+ * The display name of the result.
+ *
+ *
+ * string display_name = 12;
+ *
+ * @return The displayName.
+ */
+ @java.lang.Override
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The display name of the result.
+ *
+ *
+ * string display_name = 12;
+ *
+ * @return The bytes for displayName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DESCRIPTION_FIELD_NUMBER = 13;
+ private volatile java.lang.Object description_;
+ /**
+ *
+ *
+ *
+ * Entry description that can consist of several sentences or paragraphs that
+ * describe entry contents.
+ *
+ *
+ * string description = 13;
+ *
+ * @return The description.
+ */
+ @java.lang.Override
+ public java.lang.String getDescription() {
+ java.lang.Object ref = description_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ description_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Entry description that can consist of several sentences or paragraphs that
+ * describe entry contents.
+ *
+ *
+ * string description = 13;
+ *
+ * @return The bytes for description.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDescriptionBytes() {
+ java.lang.Object ref = description_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -710,6 +826,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullyQualifiedName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, fullyQualifiedName_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 12, displayName_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 13, description_);
+ }
unknownFields.writeTo(output);
}
@@ -746,6 +868,12 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullyQualifiedName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, fullyQualifiedName_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, displayName_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, description_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -771,6 +899,8 @@ public boolean equals(final java.lang.Object obj) {
if (!getModifyTime().equals(other.getModifyTime())) return false;
}
if (!getFullyQualifiedName().equals(other.getFullyQualifiedName())) return false;
+ if (!getDisplayName().equals(other.getDisplayName())) return false;
+ if (!getDescription().equals(other.getDescription())) return false;
if (!getSystemCase().equals(other.getSystemCase())) return false;
switch (systemCase_) {
case 8:
@@ -807,6 +937,10 @@ public int hashCode() {
}
hash = (37 * hash) + FULLY_QUALIFIED_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFullyQualifiedName().hashCode();
+ hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayName().hashCode();
+ hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getDescription().hashCode();
switch (systemCase_) {
case 8:
hash = (37 * hash) + INTEGRATED_SYSTEM_FIELD_NUMBER;
@@ -981,6 +1115,10 @@ public Builder clear() {
}
fullyQualifiedName_ = "";
+ displayName_ = "";
+
+ description_ = "";
+
systemCase_ = 0;
system_ = null;
return this;
@@ -1026,6 +1164,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult buildPartial() {
result.system_ = system_;
}
result.fullyQualifiedName_ = fullyQualifiedName_;
+ result.displayName_ = displayName_;
+ result.description_ = description_;
result.systemCase_ = systemCase_;
onBuilt();
return result;
@@ -1099,6 +1239,14 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogResult oth
fullyQualifiedName_ = other.fullyQualifiedName_;
onChanged();
}
+ if (!other.getDisplayName().isEmpty()) {
+ displayName_ = other.displayName_;
+ onChanged();
+ }
+ if (!other.getDescription().isEmpty()) {
+ description_ = other.description_;
+ onChanged();
+ }
switch (other.getSystemCase()) {
case INTEGRATED_SYSTEM:
{
@@ -2223,6 +2371,223 @@ public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value)
return this;
}
+ private java.lang.Object displayName_ = "";
+ /**
+ *
+ *
+ *
+ * The display name of the result.
+ *
+ *
+ * string display_name = 12;
+ *
+ * @return The displayName.
+ */
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The display name of the result.
+ *
+ *
+ * string display_name = 12;
+ *
+ * @return The bytes for displayName.
+ */
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The display name of the result.
+ *
+ *
+ * string display_name = 12;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ displayName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The display name of the result.
+ *
+ *
+ * string display_name = 12;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayName() {
+
+ displayName_ = getDefaultInstance().getDisplayName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The display name of the result.
+ *
+ *
+ * string display_name = 12;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ displayName_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object description_ = "";
+ /**
+ *
+ *
+ *
+ * Entry description that can consist of several sentences or paragraphs that
+ * describe entry contents.
+ *
+ *
+ * string description = 13;
+ *
+ * @return The description.
+ */
+ public java.lang.String getDescription() {
+ java.lang.Object ref = description_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ description_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Entry description that can consist of several sentences or paragraphs that
+ * describe entry contents.
+ *
+ *
+ * string description = 13;
+ *
+ * @return The bytes for description.
+ */
+ public com.google.protobuf.ByteString getDescriptionBytes() {
+ java.lang.Object ref = description_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Entry description that can consist of several sentences or paragraphs that
+ * describe entry contents.
+ *
+ *
+ * string description = 13;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDescription(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ description_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry description that can consist of several sentences or paragraphs that
+ * describe entry contents.
+ *
+ *
+ * string description = 13;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDescription() {
+
+ description_ = getDefaultInstance().getDescription();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry description that can consist of several sentences or paragraphs that
+ * describe entry contents.
+ *
+ *
+ * string description = 13;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ description_ = value;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java
index 61dd9150..9d3ecc1b 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java
@@ -304,5 +304,57 @@ public interface SearchCatalogResultOrBuilder
*/
com.google.protobuf.ByteString getFullyQualifiedNameBytes();
+ /**
+ *
+ *
+ *
+ * The display name of the result.
+ *
+ *
+ * string display_name = 12;
+ *
+ * @return The displayName.
+ */
+ java.lang.String getDisplayName();
+ /**
+ *
+ *
+ *
+ * The display name of the result.
+ *
+ *
+ * string display_name = 12;
+ *
+ * @return The bytes for displayName.
+ */
+ com.google.protobuf.ByteString getDisplayNameBytes();
+
+ /**
+ *
+ *
+ *
+ * Entry description that can consist of several sentences or paragraphs that
+ * describe entry contents.
+ *
+ *
+ * string description = 13;
+ *
+ * @return The description.
+ */
+ java.lang.String getDescription();
+ /**
+ *
+ *
+ *
+ * Entry description that can consist of several sentences or paragraphs that
+ * describe entry contents.
+ *
+ *
+ * string description = 13;
+ *
+ * @return The bytes for description.
+ */
+ com.google.protobuf.ByteString getDescriptionBytes();
+
public com.google.cloud.datacatalog.v1.SearchCatalogResult.SystemCase getSystemCase();
}
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java
index dac4f012..bd0ca5b3 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java
@@ -64,19 +64,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\ttype_spec\"#\n\010ViewSpec\022\027\n\nview_query\030\001 \001"
+ "(\tB\003\340A\003\"L\n\tTableSpec\022?\n\rgrouped_entry\030\001 "
+ "\001(\tB(\340A\003\372A\"\n datacatalog.googleapis.com/"
- + "Entry\"\211\001\n\027BigQueryDateShardedSpec\0229\n\007dat"
+ + "Entry\"\255\001\n\027BigQueryDateShardedSpec\0229\n\007dat"
+ "aset\030\001 \001(\tB(\340A\003\372A\"\n datacatalog.googleap"
+ "is.com/Entry\022\031\n\014table_prefix\030\002 \001(\tB\003\340A\003\022"
- + "\030\n\013shard_count\030\003 \001(\003B\003\340A\003*{\n\017TableSource"
- + "Type\022!\n\035TABLE_SOURCE_TYPE_UNSPECIFIED\020\000\022"
- + "\021\n\rBIGQUERY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005\022\036"
- + "\n\032BIGQUERY_MATERIALIZED_VIEW\020\007B\313\001\n\037com.g"
- + "oogle.cloud.datacatalog.v1P\001ZFgoogle.gol"
- + "ang.org/genproto/googleapis/cloud/dataca"
- + "talog/v1;datacatalog\370\001\001\252\002\033Google.Cloud.D"
- + "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog"
- + "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr"
- + "oto3"
+ + "\030\n\013shard_count\030\003 \001(\003B\003\340A\003\022\"\n\025latest_shar"
+ + "d_resource\030\004 \001(\tB\003\340A\003*{\n\017TableSourceType"
+ + "\022!\n\035TABLE_SOURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rB"
+ + "IGQUERY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005\022\036\n\032BI"
+ + "GQUERY_MATERIALIZED_VIEW\020\007B\313\001\n\037com.googl"
+ + "e.cloud.datacatalog.v1P\001ZFgoogle.golang."
+ + "org/genproto/googleapis/cloud/datacatalo"
+ + "g/v1;datacatalog\370\001\001\252\002\033Google.Cloud.DataC"
+ + "atalog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352"
+ + "\002\036Google::Cloud::DataCatalog::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -115,7 +115,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1_BigQueryDateShardedSpec_descriptor,
new java.lang.String[] {
- "Dataset", "TablePrefix", "ShardCount",
+ "Dataset", "TablePrefix", "ShardCount", "LatestShardResource",
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java
index c209b6a2..c34d2870 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java
@@ -195,10 +195,14 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -214,10 +218,14 @@ public boolean hasUpdateMask() {
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -233,10 +241,14 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -821,10 +833,14 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -839,10 +855,14 @@ public boolean hasUpdateMask() {
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -863,10 +883,14 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -889,10 +913,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -912,10 +940,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -940,10 +972,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -964,10 +1000,14 @@ public Builder clearUpdateMask() {
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -982,10 +1022,14 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1004,10 +1048,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
index d0a8820e..e2ab5589 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
@@ -69,10 +69,14 @@ public interface UpdateTagTemplateRequestOrBuilder
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -85,10 +89,14 @@ public interface UpdateTagTemplateRequestOrBuilder
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -101,10 +109,14 @@ public interface UpdateTagTemplateRequestOrBuilder
*
*
* Names of fields whose values to overwrite on a tag template. Currently,
- * only `display_name` can be overwritten.
+ * only `display_name` and `is_publicly_readable` can be overwritten.
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
+ * Note: Updating the `is_publicly_readable` field may require up to 12
+ * hours to take effect in search results. Additionally, it also requires
+ * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * permissions.
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto
index 182b91dd..2856643d 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto
+++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto
@@ -16,6 +16,8 @@ syntax = "proto3";
package google.cloud.datacatalog.v1;
+import "google/protobuf/timestamp.proto";
+
option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.DataCatalog.V1";
option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto
index fc60b83f..2b2ebb2e 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto
+++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto
@@ -226,6 +226,10 @@ service DataCatalog {
}
// Lists entries.
+ //
+ // Note: Currently, this method can list only custom entries.
+ // To get a list of both custom and automatically created entries, use
+ // [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
rpc ListEntries(ListEntriesRequest) returns (ListEntriesResponse) {
option (google.api.http) = {
get: "/v1/{parent=projects/*/locations/*/entryGroups/*}/entries"
@@ -355,9 +359,9 @@ service DataCatalog {
// Creates a tag and assigns it to:
//
// * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- // ``projects.locations.entryGroups.entries.tags.create``.
+ // `projects.locations.entryGroups.entries.tags.create`.
// * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
- // name is ``projects.locations.entryGroups.tags.create``.
+ // name is `projects.locations.entryGroups.tags.create`.
//
// Note: The project identified by the `parent` parameter for the [tag]
// (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
@@ -551,7 +555,7 @@ message SearchCatalogRequest {
// explicit permissions on them to view them. For example, if you are the
// owner.
//
- // Other scope fields, for example, ``include_org_ids``,
+ // Other scope fields, for example, `include_org_ids`,
// still restrict the returned public tag templates and at least one of
// them is required.
bool include_public_tag_templates = 19 [(google.api.field_behavior) = OPTIONAL];
@@ -566,7 +570,8 @@ message SearchCatalogRequest {
// Optional. The query string with a minimum of 3 characters and specific syntax.
// For more information, see
- // [Data Catalog search syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ // [Data Catalog search
+ // syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
//
// An empty query string returns all data assets (in the specified scope)
// that you have access to.
@@ -917,6 +922,7 @@ message Entry {
// and read-only afterwards. Can be used for search and lookup of the entries.
//
//
+ //
// FQNs take two forms:
//
// * For non-regionalized resources:
@@ -1224,11 +1230,16 @@ message UpdateTagTemplateRequest {
TagTemplate tag_template = 1 [(google.api.field_behavior) = REQUIRED];
// Names of fields whose values to overwrite on a tag template. Currently,
- // only `display_name` can be overwritten.
+ // only `display_name` and `is_publicly_readable` can be overwritten.
//
// If this parameter is absent or empty, all modifiable fields
// are overwritten. If such fields are non-required and omitted in the
// request body, their values are emptied.
+ //
+ // Note: Updating the `is_publicly_readable` field may require up to 12
+ // hours to take effect in search results. Additionally, it also requires
+ // the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ // permissions.
google.protobuf.FieldMask update_mask = 2;
}
@@ -1359,7 +1370,7 @@ message UpdateTagTemplateFieldRequest {
// Request message for
// [RenameTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField].
message RenameTagTemplateFieldRequest {
- // Required. The name of the tag template.
+ // Required. The name of the tag template field.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto
index ce423b95..7cabb874 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto
+++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto
@@ -269,8 +269,7 @@ message PolicyTag {
// Output only. Resource name of this policy tag in the URL format.
//
- // The policy tag manager generates unique taxonomy IDs and policy tag IDs.
+ // The policy tag manager generates unique taxonomy IDs and policy tag IDs.
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
// Required. User-defined name of this policy tag.
@@ -391,8 +390,7 @@ message GetTaxonomyRequest {
// Request message for
// [CreatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag].
message CreatePolicyTagRequest {
- // Required. Resource name of the taxonomy that the policy tag will belong to.
+ // Required. Resource name of the taxonomy that the policy tag will belong to.
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto
index d70bdd1d..2194c6f8 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto
+++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto
@@ -94,6 +94,13 @@ message SearchCatalogResult {
//
// `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
string fully_qualified_name = 10;
+
+ // The display name of the result.
+ string display_name = 12;
+
+ // Entry description that can consist of several sentences or paragraphs that
+ // describe entry contents.
+ string description = 13;
}
// The resource types that can be returned in search results.
diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto
index 6c4fb9b2..c8da4042 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto
+++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto
@@ -108,4 +108,7 @@ message BigQueryDateShardedSpec {
// Output only. Total number of shards.
int64 shard_count = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. BigQuery resource name of the latest shard.
+ string latest_shard_resource = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
}
From 65e1cdc07603f98803b6f6c6ce419f4878136712 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 11 Nov 2021 01:26:18 +0100
Subject: [PATCH 13/19] deps: update dependency
com.google.protobuf:protobuf-java-util to v3.19.1 (#676)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.protobuf:protobuf-java-util](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.18.1` -> `3.19.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
protocolbuffers/protobuf
### [`v3.19.1`](https://togithub.com/protocolbuffers/protobuf/releases/v3.19.1)
[Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.19.0...v3.19.1)
### Bazel
- Ensure that release archives contain everything needed for Bazel ([#9131](https://togithub.com/protocolbuffers/protobuf/issues/9131))
- Align dependency handling with Bazel best practices ([#9165](https://togithub.com/protocolbuffers/protobuf/issues/9165))
### JavaScript
- Fix `ReferenceError: window is not defined` when getting the global object ([#9156](https://togithub.com/protocolbuffers/protobuf/issues/9156))
### Ruby
- Fix memory leak in MessageClass.encode ([#9150](https://togithub.com/protocolbuffers/protobuf/issues/9150))
### [`v3.19.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.19.0)
[Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.18.1...v3.19.0)
### C++
- Make proto2::Message::DiscardUnknownFields() non-virtual
- Separate RepeatedPtrField into its own header file
- For default floating point values of 0, consider all bits significant
- cmake: support `MSVC_RUNTIME_LIBRARY` property ([#8851](https://togithub.com/protocolbuffers/protobuf/issues/8851))
- Fix shadowing warnings ([#8926](https://togithub.com/protocolbuffers/protobuf/issues/8926))
- Fix for issue [#8484](https://togithub.com/protocolbuffers/protobuf/issues/8484), constant initialization doesn't compile in msvc clang-cl environment ([#8993](https://togithub.com/protocolbuffers/protobuf/issues/8993))
- Fix build on AIX and SunOS ([#8373](https://togithub.com/protocolbuffers/protobuf/issues/8373)) ([#9065](https://togithub.com/protocolbuffers/protobuf/issues/9065))
- Add Android stlport and default toolchains to BUILD. ([#8290](https://togithub.com/protocolbuffers/protobuf/issues/8290))
### Java
- For default floating point values of 0, consider all bits significant
- Annotate `//java/com/google/protobuf/util/...` with nullness annotations
- Use ArrayList copy constructor ([#7853](https://togithub.com/protocolbuffers/protobuf/issues/7853))
### Kotlin
- Switch Kotlin proto DSLs to be implemented with inline value classes
- Fixing inlining and deprecation for repeated string fields ([#9120](https://togithub.com/protocolbuffers/protobuf/issues/9120))
### Python
- Proto2 DecodeError now includes message name in error message
- Make MessageToDict convert map keys to strings ([#8122](https://togithub.com/protocolbuffers/protobuf/issues/8122))
- Add python-requires in setup.py ([#8989](https://togithub.com/protocolbuffers/protobuf/issues/8989))
- Add python 3.10 ([#9034](https://togithub.com/protocolbuffers/protobuf/issues/9034))
### JavaScript
- Skip exports if not available by CommonJS ([#8856](https://togithub.com/protocolbuffers/protobuf/issues/8856))
- JS: Comply with CSP no-unsafe-eval. ([#8864](https://togithub.com/protocolbuffers/protobuf/issues/8864))
### PHP
- Added "object" as a reserved name for PHP ([#8962](https://togithub.com/protocolbuffers/protobuf/issues/8962))
### Ruby
- Override Map.clone to use Map's dup method ([#7938](https://togithub.com/protocolbuffers/protobuf/issues/7938))
- Ruby: build extensions for arm64-darwin ([#8232](https://togithub.com/protocolbuffers/protobuf/issues/8232))
- Add class method Timestamp.from_time to ruby well known types ([#8562](https://togithub.com/protocolbuffers/protobuf/issues/8562))
- Adopt pure ruby DSL implementation for JRuby ([#9047](https://togithub.com/protocolbuffers/protobuf/issues/9047))
- Add size to Map class ([#8068](https://togithub.com/protocolbuffers/protobuf/issues/8068))
- Fix for descriptor_pb.rb: google/protobuf should be required first ([#9121](https://togithub.com/protocolbuffers/protobuf/issues/9121))
### C\#
- Correctly set ExtensionRegistry when parsing with MessageParser, but using an already existing CodedInputStream ([#7246](https://togithub.com/protocolbuffers/protobuf/issues/7246))
- \[C#] Make FieldDescriptor propertyName public ([#7642](https://togithub.com/protocolbuffers/protobuf/issues/7642))
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-datacatalog).
---
samples/install-without-bom/pom.xml | 2 +-
samples/snapshot/pom.xml | 2 +-
samples/snippets/pom.xml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 842366ad..390158a0 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -36,7 +36,7 @@
com.google.protobuf
protobuf-java-util
- 3.18.1
+ 3.19.1
junit
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index f1bc1349..54441650 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -34,7 +34,7 @@
com.google.protobuf
protobuf-java-util
- 3.18.1
+ 3.19.1
junit
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 3d1d620c..2b688c9b 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -47,7 +47,7 @@
com.google.protobuf
protobuf-java-util
- 3.18.1
+ 3.19.1
junit
From f272b91e58a84c18ee652091eea545a19b0d0694 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Thu, 11 Nov 2021 21:20:20 +0000
Subject: [PATCH 14/19] chore: update minimum java version to java 8 (#1281)
(#689)
---
.github/.OwlBot.lock.yaml | 2 +-
README.md | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 886d0949..5d788be0 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -1,3 +1,3 @@
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
- digest: sha256:14ecf64ec36f67c7bf04e3dc0f68eafcc01df3955121c38862b695e2ae7515d8
+ digest: sha256:a744afda1956beb7bd6dc8d0b740a7839bbe402e34e2f4ef24589074db53ceb0
diff --git a/README.md b/README.md
index fedb5b20..d9d9ab1d 100644
--- a/README.md
+++ b/README.md
@@ -141,7 +141,7 @@ Data Catalog uses gRPC for the transport layer.
## Supported Java Versions
-Java 7 or above is required for using this client.
+Java 8 or above is required for using this client.
Google's Java client libraries,
[Google Cloud Client Libraries][cloudlibs]
@@ -210,7 +210,6 @@ Apache 2.0 - See [LICENSE][license] for more information.
Java Version | Status
------------ | ------
-Java 7 | [![Kokoro CI][kokoro-badge-image-1]][kokoro-badge-link-1]
Java 8 | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2]
Java 8 OSX | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3]
Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4]
From 9248cee1c88639bea1bf66dc422e2dc300e209f3 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Mon, 15 Nov 2021 17:04:12 +0100
Subject: [PATCH 15/19] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v2.5.0 (#690)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.4.0` -> `2.5.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/java-shared-dependencies
### [`v2.5.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#250-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare240v250-2021-11-12)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.4.0...v2.5.0)
##### Features
- next release from main branch is 2.5.0 ([#510](https://www.togithub.com/googleapis/java-shared-dependencies/issues/510)) ([ca9eb8a](https://www.github.com/googleapis/java-shared-dependencies/commit/ca9eb8a40ae81d69de0d82d9499ef21b0136ae49))
##### Bug Fixes
- dependencies.sh to work with Java 17 ([#516](https://www.togithub.com/googleapis/java-shared-dependencies/issues/516)) ([8422c1d](https://www.github.com/googleapis/java-shared-dependencies/commit/8422c1d7e9ef479f348e63c530789050b5235426))
##### Dependencies
- update dependency com.google.api:api-common to v2.1.0 ([#508](https://www.togithub.com/googleapis/java-shared-dependencies/issues/508)) ([ae32d16](https://www.github.com/googleapis/java-shared-dependencies/commit/ae32d1689c78fc1469206c8c0df0ebaca59edd2c))
- update dependency com.google.auth:google-auth-library-bom to v1.2.2 ([#506](https://www.togithub.com/googleapis/java-shared-dependencies/issues/506)) ([b9a8209](https://www.github.com/googleapis/java-shared-dependencies/commit/b9a82098655f29e858bd0c7a9b1049a379e5062a))
- update dependency com.google.auth:google-auth-library-bom to v1.3.0 ([#524](https://www.togithub.com/googleapis/java-shared-dependencies/issues/524)) ([fc07879](https://www.github.com/googleapis/java-shared-dependencies/commit/fc07879fa6531e39b21977fe77abc19354a1fd33))
- update dependency com.google.code.gson:gson to v2.8.9 ([#509](https://www.togithub.com/googleapis/java-shared-dependencies/issues/509)) ([bece99b](https://www.github.com/googleapis/java-shared-dependencies/commit/bece99bb3e0365e60e7376ba18d046ab6436a235))
- update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#512](https://www.togithub.com/googleapis/java-shared-dependencies/issues/512)) ([c281f13](https://www.github.com/googleapis/java-shared-dependencies/commit/c281f137525e2111e97349657be578ed1fc832f2))
- update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#505](https://www.togithub.com/googleapis/java-shared-dependencies/issues/505)) ([94cde96](https://www.github.com/googleapis/java-shared-dependencies/commit/94cde96069900f9f8c2ff9a522671d03b26828bd))
- update dependency io.grpc:grpc-bom to v1.42.1 ([#513](https://www.togithub.com/googleapis/java-shared-dependencies/issues/513)) ([0d2b774](https://www.github.com/googleapis/java-shared-dependencies/commit/0d2b774287a132821cc6fe2789140086bc48d525))
- update dependency org.checkerframework:checker-qual to v3.19.0 ([#501](https://www.togithub.com/googleapis/java-shared-dependencies/issues/501)) ([2b3e0b5](https://www.github.com/googleapis/java-shared-dependencies/commit/2b3e0b5ddc3a645b20a837f3123394f1ca114f08))
- update dependency org.threeten:threetenbp to v1.5.2 ([#514](https://www.togithub.com/googleapis/java-shared-dependencies/issues/514)) ([4885f40](https://www.github.com/googleapis/java-shared-dependencies/commit/4885f402e2c70435cd10d4f1b893df9873808c56))
- update gax.version to v2.7.0 ([#515](https://www.togithub.com/googleapis/java-shared-dependencies/issues/515)) ([567e728](https://www.github.com/googleapis/java-shared-dependencies/commit/567e728b0e59233a04e2d04183e6a0c36cca2437))
- update google.core.version to v2.3.0 ([#530](https://www.togithub.com/googleapis/java-shared-dependencies/issues/530)) ([78e87e9](https://www.github.com/googleapis/java-shared-dependencies/commit/78e87e96befab34dc4a494e752aeb473cd14a156))
- update iam.version to v1.1.7 ([#504](https://www.togithub.com/googleapis/java-shared-dependencies/issues/504)) ([63dd583](https://www.github.com/googleapis/java-shared-dependencies/commit/63dd583c80f35b01a66fd1908d41467468c66436))
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-datacatalog).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index b111cc74..5de216b8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -87,7 +87,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 2.4.0
+ 2.5.0
pom
import
From 6ae3060d28d927f62ecbb38b35b7cd033c475d43 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Wed, 17 Nov 2021 18:38:33 +0100
Subject: [PATCH 16/19] build(deps): update dependency
com.google.cloud:google-cloud-shared-config to v1.2.2 (#691)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.1` -> `1.2.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/java-shared-config
### [`v1.2.2`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#122-httpswwwgithubcomgoogleapisjava-shared-configcomparev121v122-2021-11-16)
[Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.1...v1.2.2)
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-datacatalog).
---
google-cloud-datacatalog-bom/pom.xml | 2 +-
pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/google-cloud-datacatalog-bom/pom.xml b/google-cloud-datacatalog-bom/pom.xml
index 3aa381cb..58c44872 100644
--- a/google-cloud-datacatalog-bom/pom.xml
+++ b/google-cloud-datacatalog-bom/pom.xml
@@ -8,7 +8,7 @@
com.google.cloud
google-cloud-shared-config
- 1.2.1
+ 1.2.2
Google Cloud Data Catalog BOM
diff --git a/pom.xml b/pom.xml
index 5de216b8..ea5af095 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,7 @@
com.google.cloud
google-cloud-shared-config
- 1.2.1
+ 1.2.2
From 5525650916c2a04f83f41c7576502ac70ffaf2af Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Wed, 17 Nov 2021 14:54:17 -0500
Subject: [PATCH 17/19] chore: update Java and Python dependencies (#687)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* chore: update Java and Python dependencies
PiperOrigin-RevId: 408420890
Source-Link: https://github.com/googleapis/googleapis/commit/2921f9fb3bfbd16f6b2da0104373e2b47a80a65e
Source-Link: https://github.com/googleapis/googleapis-gen/commit/6598ca8cbbf5226733a099c4506518a5af6ff74c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjU5OGNhOGNiYmY1MjI2NzMzYTA5OWM0NTA2NTE4YTVhZjZmZjc0YyJ9
* 🦉 Updates from OwlBot
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot
---
.../datacatalog/v1/DataCatalogClient.java | 24 +++++-----
.../cloud/datacatalog/v1/DataCatalogGrpc.java | 16 +++----
.../datacatalog/v1/SearchCatalogRequest.java | 31 +++++-------
.../v1/SearchCatalogRequestOrBuilder.java | 6 +--
.../v1/UpdateTagTemplateRequest.java | 48 +++++++++----------
.../v1/UpdateTagTemplateRequestOrBuilder.java | 12 ++---
.../cloud/datacatalog/v1/datacatalog.proto | 14 +++---
7 files changed, 70 insertions(+), 81 deletions(-)
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java
index 0eb29ad1..97ea6124 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java
@@ -190,7 +190,7 @@ public DataCatalogStub getStub() {
* error.
* @param query Optional. The query string with a minimum of 3 characters and specific syntax. For
* more information, see [Data Catalog search
- * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * syntax](/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope) that you have
* access to.
*
A query string can be a simple `xyz` or qualified by predicates:
@@ -2044,9 +2044,9 @@ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate) {
* `display_name` and `is_publicly_readable` can be overwritten.
*
If this parameter is absent or empty, all modifiable fields are overwritten. If such
* fields are non-required and omitted in the request body, their values are emptied.
- *
Note: Updating the `is_publicly_readable` field may require up to 12 hours to take
- * effect in search results. Additionally, it also requires the `tagTemplates.getIamPolicy`
- * and `tagTemplates.setIamPolicy` permissions.
+ *
Note: Updating the ``is_publicly_readable`` field may require up to 12 hours to take
+ * effect in search results. Additionally, it also requires the ``tagTemplates.getIamPolicy``
+ * and ``tagTemplates.setIamPolicy`` permissions.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final TagTemplate updateTagTemplate(TagTemplate tagTemplate, FieldMask updateMask) {
@@ -3037,9 +3037,9 @@ public final void deleteTagTemplateField(DeleteTagTemplateFieldRequest request)
*
*
* - An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * `projects.locations.entryGroups.entries.tags.create`.
+ * ``projects.locations.entryGroups.entries.tags.create``.
*
- Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method name is
- * `projects.locations.entryGroups.tags.create`.
+ * ``projects.locations.entryGroups.tags.create``.
*
*
* Note: The project identified by the `parent` parameter for the [tag]
@@ -3081,9 +3081,9 @@ public final Tag createTag(TagName parent, Tag tag) {
*
*
* - An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * `projects.locations.entryGroups.entries.tags.create`.
+ * ``projects.locations.entryGroups.entries.tags.create``.
*
- Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method name is
- * `projects.locations.entryGroups.tags.create`.
+ * ``projects.locations.entryGroups.tags.create``.
*
*
* Note: The project identified by the `parent` parameter for the [tag]
@@ -3122,9 +3122,9 @@ public final Tag createTag(String parent, Tag tag) {
*
*
* - An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * `projects.locations.entryGroups.entries.tags.create`.
+ * ``projects.locations.entryGroups.entries.tags.create``.
*
- Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method name is
- * `projects.locations.entryGroups.tags.create`.
+ * ``projects.locations.entryGroups.tags.create``.
*
*
* Note: The project identified by the `parent` parameter for the [tag]
@@ -3161,9 +3161,9 @@ public final Tag createTag(CreateTagRequest request) {
*
*
* - An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * `projects.locations.entryGroups.entries.tags.create`.
+ * ``projects.locations.entryGroups.entries.tags.create``.
*
- Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method name is
- * `projects.locations.entryGroups.tags.create`.
+ * ``projects.locations.entryGroups.tags.create``.
*
*
* Note: The project identified by the `parent` parameter for the [tag]
diff --git a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
index 233da4d5..a85e39a3 100644
--- a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
@@ -1732,9 +1732,9 @@ public void deleteTagTemplateField(
*
* Creates a tag and assigns it to:
* * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * `projects.locations.entryGroups.entries.tags.create`.
+ * ``projects.locations.entryGroups.entries.tags.create``.
* * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
- * name is `projects.locations.entryGroups.tags.create`.
+ * name is ``projects.locations.entryGroups.tags.create``.
* Note: The project identified by the `parent` parameter for the [tag]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
* and the [tag template]
@@ -2506,9 +2506,9 @@ public void deleteTagTemplateField(
*
* Creates a tag and assigns it to:
* * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * `projects.locations.entryGroups.entries.tags.create`.
+ * ``projects.locations.entryGroups.entries.tags.create``.
* * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
- * name is `projects.locations.entryGroups.tags.create`.
+ * name is ``projects.locations.entryGroups.tags.create``.
* Note: The project identified by the `parent` parameter for the [tag]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
* and the [tag template]
@@ -3036,9 +3036,9 @@ public com.google.protobuf.Empty deleteTagTemplateField(
*
* Creates a tag and assigns it to:
* * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * `projects.locations.entryGroups.entries.tags.create`.
+ * ``projects.locations.entryGroups.entries.tags.create``.
* * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
- * name is `projects.locations.entryGroups.tags.create`.
+ * name is ``projects.locations.entryGroups.tags.create``.
* Note: The project identified by the `parent` parameter for the [tag]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
* and the [tag template]
@@ -3568,9 +3568,9 @@ protected DataCatalogFutureStub build(
*
* Creates a tag and assigns it to:
* * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- * `projects.locations.entryGroups.entries.tags.create`.
+ * ``projects.locations.entryGroups.entries.tags.create``.
* * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
- * name is `projects.locations.entryGroups.tags.create`.
+ * name is ``projects.locations.entryGroups.tags.create``.
* Note: The project identified by the `parent` parameter for the [tag]
* (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
* and the [tag template]
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
index e170f5e3..981b2985 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java
@@ -385,7 +385,7 @@ public interface ScopeOrBuilder
* in the search results. By default, they are included only if you have
* explicit permissions on them to view them. For example, if you are the
* owner.
- * Other scope fields, for example, `include_org_ids`,
+ * Other scope fields, for example, ``include_org_ids``,
* still restrict the returned public tag templates and at least one of
* them is required.
*
@@ -802,7 +802,7 @@ public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) {
* in the search results. By default, they are included only if you have
* explicit permissions on them to view them. For example, if you are the
* owner.
- * Other scope fields, for example, `include_org_ids`,
+ * Other scope fields, for example, ``include_org_ids``,
* still restrict the returned public tag templates and at least one of
* them is required.
*
@@ -1952,7 +1952,7 @@ public Builder addRestrictedLocationsBytes(com.google.protobuf.ByteString value)
* in the search results. By default, they are included only if you have
* explicit permissions on them to view them. For example, if you are the
* owner.
- * Other scope fields, for example, `include_org_ids`,
+ * Other scope fields, for example, ``include_org_ids``,
* still restrict the returned public tag templates and at least one of
* them is required.
*
@@ -1975,7 +1975,7 @@ public boolean getIncludePublicTagTemplates() {
* in the search results. By default, they are included only if you have
* explicit permissions on them to view them. For example, if you are the
* owner.
- * Other scope fields, for example, `include_org_ids`,
+ * Other scope fields, for example, ``include_org_ids``,
* still restrict the returned public tag templates and at least one of
* them is required.
*
@@ -2001,7 +2001,7 @@ public Builder setIncludePublicTagTemplates(boolean value) {
* in the search results. By default, they are included only if you have
* explicit permissions on them to view them. For example, if you are the
* owner.
- * Other scope fields, for example, `include_org_ids`,
+ * Other scope fields, for example, ``include_org_ids``,
* still restrict the returned public tag templates and at least one of
* them is required.
*
@@ -2142,8 +2142,7 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search
- * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -2174,8 +2173,7 @@ public java.lang.String getQuery() {
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search
- * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -2970,8 +2968,7 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search
- * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -3001,8 +2998,7 @@ public java.lang.String getQuery() {
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search
- * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -3032,8 +3028,7 @@ public com.google.protobuf.ByteString getQueryBytes() {
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search
- * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -3062,8 +3057,7 @@ public Builder setQuery(java.lang.String value) {
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search
- * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -3088,8 +3082,7 @@ public Builder clearQuery() {
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search
- * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java
index 834594fa..edd3a33b 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java
@@ -79,8 +79,7 @@ public interface SearchCatalogRequestOrBuilder
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search
- * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
@@ -100,8 +99,7 @@ public interface SearchCatalogRequestOrBuilder
*
* Optional. The query string with a minimum of 3 characters and specific syntax.
* For more information, see
- * [Data Catalog search
- * syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
* An empty query string returns all data assets (in the specified scope)
* that you have access to.
* A query string can be a simple `xyz` or qualified by predicates:
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java
index c34d2870..13a34b8d 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java
@@ -199,9 +199,9 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -222,9 +222,9 @@ public boolean hasUpdateMask() {
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -245,9 +245,9 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -837,9 +837,9 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -859,9 +859,9 @@ public boolean hasUpdateMask() {
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -887,9 +887,9 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -917,9 +917,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -944,9 +944,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -976,9 +976,9 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -1004,9 +1004,9 @@ public Builder clearUpdateMask() {
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -1026,9 +1026,9 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -1052,9 +1052,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
index e2ab5589..7d611029 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java
@@ -73,9 +73,9 @@ public interface UpdateTagTemplateRequestOrBuilder
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -93,9 +93,9 @@ public interface UpdateTagTemplateRequestOrBuilder
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
@@ -113,9 +113,9 @@ public interface UpdateTagTemplateRequestOrBuilder
* If this parameter is absent or empty, all modifiable fields
* are overwritten. If such fields are non-required and omitted in the
* request body, their values are emptied.
- * Note: Updating the `is_publicly_readable` field may require up to 12
+ * Note: Updating the ``is_publicly_readable`` field may require up to 12
* hours to take effect in search results. Additionally, it also requires
- * the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ * the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
* permissions.
*
*
diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto
index 2b2ebb2e..6ebb75ab 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto
+++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto
@@ -359,9 +359,9 @@ service DataCatalog {
// Creates a tag and assigns it to:
//
// * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
- // `projects.locations.entryGroups.entries.tags.create`.
+ // ``projects.locations.entryGroups.entries.tags.create``.
// * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
- // name is `projects.locations.entryGroups.tags.create`.
+ // name is ``projects.locations.entryGroups.tags.create``.
//
// Note: The project identified by the `parent` parameter for the [tag]
// (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
@@ -555,7 +555,7 @@ message SearchCatalogRequest {
// explicit permissions on them to view them. For example, if you are the
// owner.
//
- // Other scope fields, for example, `include_org_ids`,
+ // Other scope fields, for example, ``include_org_ids``,
// still restrict the returned public tag templates and at least one of
// them is required.
bool include_public_tag_templates = 19 [(google.api.field_behavior) = OPTIONAL];
@@ -570,8 +570,7 @@ message SearchCatalogRequest {
// Optional. The query string with a minimum of 3 characters and specific syntax.
// For more information, see
- // [Data Catalog search
- // syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ // [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
//
// An empty query string returns all data assets (in the specified scope)
// that you have access to.
@@ -922,7 +921,6 @@ message Entry {
// and read-only afterwards. Can be used for search and lookup of the entries.
//
//
- //
// FQNs take two forms:
//
// * For non-regionalized resources:
@@ -1236,9 +1234,9 @@ message UpdateTagTemplateRequest {
// are overwritten. If such fields are non-required and omitted in the
// request body, their values are emptied.
//
- // Note: Updating the `is_publicly_readable` field may require up to 12
+ // Note: Updating the ``is_publicly_readable`` field may require up to 12
// hours to take effect in search results. Additionally, it also requires
- // the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
+ // the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
// permissions.
google.protobuf.FieldMask update_mask = 2;
}
From fdac6a0a4b89c83fbc031a088b8e6cf426115563 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Wed, 17 Nov 2021 19:54:24 +0000
Subject: [PATCH 18/19] feat: Added
BigQueryDateShardedSpec.latest_shard_resource field feat: Added
SearchCatalogResult.display_name field feat: Added
SearchCatalogResult.description field (#683)
- [ ] Regenerate this pull request now.
PiperOrigin-RevId: 408274419
Source-Link: https://github.com/googleapis/googleapis/commit/cbba92c063e7d9752bf6e5d8f5081a84a5e7f159
Source-Link: https://github.com/googleapis/googleapis-gen/commit/64b969f1299f572fbb269530cbc454966b14851d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjRiOTY5ZjEyOTlmNTcyZmJiMjY5NTMwY2JjNDU0OTY2YjE0ODUxZCJ9
---
.../datacatalog/v1/DataCatalogClient.java | 32 +++++++++------
.../v1/PolicyTagManagerClient.java | 40 ++++++++++++-------
.../PolicyTagManagerSerializationClient.java | 8 ++--
.../v1beta1/DataCatalogClient.java | 32 +++++++++------
.../v1beta1/PolicyTagManagerClient.java | 40 ++++++++++++-------
.../PolicyTagManagerSerializationClient.java | 10 ++---
.../datacatalog/v1beta1/package-info.java | 2 +-
.../datacatalog/v1/DataCatalogClientTest.java | 14 +++----
.../v1/PolicyTagManagerClientTest.java | 18 +++------
...licyTagManagerSerializationClientTest.java | 8 ++--
.../v1beta1/DataCatalogClientTest.java | 14 +++----
.../v1beta1/PolicyTagManagerClientTest.java | 18 +++------
...licyTagManagerSerializationClientTest.java | 8 ++--
.../cloud/datacatalog/v1/DataCatalogGrpc.java | 1 -
.../datacatalog/v1/PolicyTagManagerGrpc.java | 1 -
.../v1/PolicyTagManagerSerializationGrpc.java | 1 -
.../datacatalog/v1beta1/DataCatalogGrpc.java | 1 -
.../v1beta1/PolicyTagManagerGrpc.java | 1 -
.../PolicyTagManagerSerializationGrpc.java | 1 -
19 files changed, 132 insertions(+), 118 deletions(-)
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java
index 97ea6124..7ddb2530 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java
@@ -430,7 +430,7 @@ public final EntryGroup createEntryGroup(
*
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
- * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
* String entryGroupId = "entryGroupId1228924712";
* EntryGroup entryGroup = EntryGroup.newBuilder().build();
* EntryGroup response = dataCatalogClient.createEntryGroup(parent, entryGroupId, entryGroup);
@@ -493,7 +493,7 @@ public final EntryGroup createEntryGroup(
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateEntryGroupRequest request =
* CreateEntryGroupRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString())
* .setEntryGroupId("entryGroupId1228924712")
* .setEntryGroup(EntryGroup.newBuilder().build())
* .build();
@@ -543,7 +543,7 @@ public final EntryGroup createEntryGroup(CreateEntryGroupRequest request) {
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateEntryGroupRequest request =
* CreateEntryGroupRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString())
* .setEntryGroupId("entryGroupId1228924712")
* .setEntryGroup(EntryGroup.newBuilder().build())
* .build();
@@ -1815,7 +1815,7 @@ public final TagTemplate createTagTemplate(
*
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
- * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * String parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
* String tagTemplateId = "tagTemplateId-1438776721";
* TagTemplate tagTemplate = TagTemplate.newBuilder().build();
* TagTemplate response =
@@ -1856,7 +1856,7 @@ public final TagTemplate createTagTemplate(
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateTagTemplateRequest request =
* CreateTagTemplateRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
* .setTagTemplateId("tagTemplateId-1438776721")
* .setTagTemplate(TagTemplate.newBuilder().build())
* .build();
@@ -1885,7 +1885,7 @@ public final TagTemplate createTagTemplate(CreateTagTemplateRequest request) {
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateTagTemplateRequest request =
* CreateTagTemplateRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
* .setTagTemplateId("tagTemplateId-1438776721")
* .setTagTemplate(TagTemplate.newBuilder().build())
* .build();
@@ -3318,7 +3318,8 @@ public final void deleteTag(EntryName name) {
*
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
- * String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
+ * String name =
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]").toString();
* dataCatalogClient.deleteTag(name);
* }
* }
@@ -3342,7 +3343,8 @@ public final void deleteTag(String name) {
* DeleteTagRequest request =
* DeleteTagRequest.newBuilder()
* .setName(
- * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
+ * .toString())
* .build();
* dataCatalogClient.deleteTag(request);
* }
@@ -3366,7 +3368,8 @@ public final void deleteTag(DeleteTagRequest request) {
* DeleteTagRequest request =
* DeleteTagRequest.newBuilder()
* .setName(
- * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
+ * .toString())
* .build();
* ApiFuture future = dataCatalogClient.deleteTagCallable().futureCall(request);
* // Do something.
@@ -3414,7 +3417,7 @@ public final ListTagsPagedResponse listTags(EntryName parent) {
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* String parent =
- * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]").toString();
* for (Tag element : dataCatalogClient.listTags(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -3443,7 +3446,8 @@ public final ListTagsPagedResponse listTags(String parent) {
* ListTagsRequest request =
* ListTagsRequest.newBuilder()
* .setParent(
- * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
+ * .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3471,7 +3475,8 @@ public final ListTagsPagedResponse listTags(ListTagsRequest request) {
* ListTagsRequest request =
* ListTagsRequest.newBuilder()
* .setParent(
- * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
+ * .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3498,7 +3503,8 @@ public final UnaryCallable listTagsPaged
* ListTagsRequest request =
* ListTagsRequest.newBuilder()
* .setParent(
- * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
+ * .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java
index f400f95f..9b483263 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java
@@ -199,7 +199,7 @@ public final Taxonomy createTaxonomy(LocationName parent, Taxonomy taxonomy) {
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
* Taxonomy taxonomy = Taxonomy.newBuilder().build();
* Taxonomy response = policyTagManagerClient.createTaxonomy(parent, taxonomy);
* }
@@ -227,7 +227,7 @@ public final Taxonomy createTaxonomy(String parent, Taxonomy taxonomy) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreateTaxonomyRequest request =
* CreateTaxonomyRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setTaxonomy(Taxonomy.newBuilder().build())
* .build();
* Taxonomy response = policyTagManagerClient.createTaxonomy(request);
@@ -253,7 +253,7 @@ public final Taxonomy createTaxonomy(CreateTaxonomyRequest request) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreateTaxonomyRequest request =
* CreateTaxonomyRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setTaxonomy(Taxonomy.newBuilder().build())
* .build();
* ApiFuture future =
@@ -466,7 +466,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(LocationName parent) {
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
* for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -491,7 +491,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(String parent) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListTaxonomiesRequest request =
* ListTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -518,7 +518,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListTaxonomiesRequest request =
* ListTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -546,7 +546,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListTaxonomiesRequest request =
* ListTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -694,7 +694,8 @@ public final PolicyTag createPolicyTag(TaxonomyName parent, PolicyTag policyTag)
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
+ * String parent =
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
* PolicyTag policyTag = PolicyTag.newBuilder().build();
* PolicyTag response = policyTagManagerClient.createPolicyTag(parent, policyTag);
* }
@@ -720,7 +721,9 @@ public final PolicyTag createPolicyTag(String parent, PolicyTag policyTag) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreatePolicyTagRequest request =
* CreatePolicyTagRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
+ * .toString())
* .setPolicyTag(PolicyTag.newBuilder().build())
* .build();
* PolicyTag response = policyTagManagerClient.createPolicyTag(request);
@@ -744,7 +747,9 @@ public final PolicyTag createPolicyTag(CreatePolicyTagRequest request) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreatePolicyTagRequest request =
* CreatePolicyTagRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
+ * .toString())
* .setPolicyTag(PolicyTag.newBuilder().build())
* .build();
* ApiFuture future =
@@ -984,7 +989,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(TaxonomyName parent) {
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
+ * String parent =
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
* for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -1009,7 +1015,9 @@ public final ListPolicyTagsPagedResponse listPolicyTags(String parent) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListPolicyTagsRequest request =
* ListPolicyTagsRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
+ * .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1036,7 +1044,9 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListPolicyTagsRequest request =
* ListPolicyTagsRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
+ * .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1064,7 +1074,9 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListPolicyTagsRequest request =
* ListPolicyTagsRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
+ * .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java
index 3a5dfd9a..6274436f 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java
@@ -239,7 +239,7 @@ public final UnaryCallable replaceTaxonomyCall
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .build();
* ImportTaxonomiesResponse response =
* policyTagManagerSerializationClient.importTaxonomies(request);
@@ -271,7 +271,7 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .build();
* ApiFuture future =
* policyTagManagerSerializationClient.importTaxonomiesCallable().futureCall(request);
@@ -300,7 +300,7 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
* PolicyTagManagerSerializationClient.create()) {
* ExportTaxonomiesRequest request =
* ExportTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .addAllTaxonomies(new ArrayList())
* .build();
* ExportTaxonomiesResponse response =
@@ -330,7 +330,7 @@ public final ExportTaxonomiesResponse exportTaxonomies(ExportTaxonomiesRequest r
* PolicyTagManagerSerializationClient.create()) {
* ExportTaxonomiesRequest request =
* ExportTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .addAllTaxonomies(new ArrayList())
* .build();
* ApiFuture future =
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java
index 049269cd..a7b928d2 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java
@@ -393,7 +393,7 @@ public final EntryGroup createEntryGroup(
*
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
- * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * String parent = EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString();
* String entryGroupId = "entryGroupId1228924712";
* EntryGroup entryGroup = EntryGroup.newBuilder().build();
* EntryGroup response = dataCatalogClient.createEntryGroup(parent, entryGroupId, entryGroup);
@@ -437,7 +437,7 @@ public final EntryGroup createEntryGroup(
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateEntryGroupRequest request =
* CreateEntryGroupRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString())
* .setEntryGroupId("entryGroupId1228924712")
* .setEntryGroup(EntryGroup.newBuilder().build())
* .build();
@@ -466,7 +466,7 @@ public final EntryGroup createEntryGroup(CreateEntryGroupRequest request) {
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateEntryGroupRequest request =
* CreateEntryGroupRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(EntryGroupName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]").toString())
* .setEntryGroupId("entryGroupId1228924712")
* .setEntryGroup(EntryGroup.newBuilder().build())
* .build();
@@ -1693,7 +1693,7 @@ public final TagTemplate createTagTemplate(
*
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
- * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * String parent = TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString();
* String tagTemplateId = "tagTemplateId-1438776721";
* TagTemplate tagTemplate = TagTemplate.newBuilder().build();
* TagTemplate response =
@@ -1736,7 +1736,7 @@ public final TagTemplate createTagTemplate(
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateTagTemplateRequest request =
* CreateTagTemplateRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
* .setTagTemplateId("tagTemplateId-1438776721")
* .setTagTemplate(TagTemplate.newBuilder().build())
* .build();
@@ -1764,7 +1764,7 @@ public final TagTemplate createTagTemplate(CreateTagTemplateRequest request) {
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* CreateTagTemplateRequest request =
* CreateTagTemplateRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
* .setTagTemplateId("tagTemplateId-1438776721")
* .setTagTemplate(TagTemplate.newBuilder().build())
* .build();
@@ -3009,7 +3009,8 @@ public final void deleteTag(EntryName name) {
*
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
- * String name = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
+ * String name =
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]").toString();
* dataCatalogClient.deleteTag(name);
* }
* }
@@ -3037,7 +3038,8 @@ public final void deleteTag(String name) {
* DeleteTagRequest request =
* DeleteTagRequest.newBuilder()
* .setName(
- * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
+ * .toString())
* .build();
* dataCatalogClient.deleteTag(request);
* }
@@ -3061,7 +3063,8 @@ public final void deleteTag(DeleteTagRequest request) {
* DeleteTagRequest request =
* DeleteTagRequest.newBuilder()
* .setName(
- * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
+ * .toString())
* .build();
* ApiFuture future = dataCatalogClient.deleteTagCallable().futureCall(request);
* // Do something.
@@ -3114,7 +3117,7 @@ public final ListTagsPagedResponse listTags(EntryName parent) {
* {@code
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* String parent =
- * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString();
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]").toString();
* for (Tag element : dataCatalogClient.listTags(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -3148,7 +3151,8 @@ public final ListTagsPagedResponse listTags(String parent) {
* ListTagsRequest request =
* ListTagsRequest.newBuilder()
* .setParent(
- * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
+ * .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3176,7 +3180,8 @@ public final ListTagsPagedResponse listTags(ListTagsRequest request) {
* ListTagsRequest request =
* ListTagsRequest.newBuilder()
* .setParent(
- * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
+ * .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -3203,7 +3208,8 @@ public final UnaryCallable listTagsPaged
* ListTagsRequest request =
* ListTagsRequest.newBuilder()
* .setParent(
- * EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ * TagName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]", "[TAG]")
+ * .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java
index 404ea595..4131823a 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java
@@ -193,7 +193,7 @@ public final Taxonomy createTaxonomy(LocationName parent, Taxonomy taxonomy) {
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
* Taxonomy taxonomy = Taxonomy.newBuilder().build();
* Taxonomy response = policyTagManagerClient.createTaxonomy(parent, taxonomy);
* }
@@ -219,7 +219,7 @@ public final Taxonomy createTaxonomy(String parent, Taxonomy taxonomy) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreateTaxonomyRequest request =
* CreateTaxonomyRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setTaxonomy(Taxonomy.newBuilder().build())
* .build();
* Taxonomy response = policyTagManagerClient.createTaxonomy(request);
@@ -243,7 +243,7 @@ public final Taxonomy createTaxonomy(CreateTaxonomyRequest request) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreateTaxonomyRequest request =
* CreateTaxonomyRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setTaxonomy(Taxonomy.newBuilder().build())
* .build();
* ApiFuture future =
@@ -458,7 +458,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(LocationName parent) {
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
* for (Taxonomy element : policyTagManagerClient.listTaxonomies(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -484,7 +484,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(String parent) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListTaxonomiesRequest request =
* ListTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -512,7 +512,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListTaxonomiesRequest request =
* ListTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -541,7 +541,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListTaxonomiesRequest request =
* ListTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -689,7 +689,8 @@ public final PolicyTag createPolicyTag(TaxonomyName parent, PolicyTag policyTag)
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
+ * String parent =
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
* PolicyTag policyTag = PolicyTag.newBuilder().build();
* PolicyTag response = policyTagManagerClient.createPolicyTag(parent, policyTag);
* }
@@ -715,7 +716,9 @@ public final PolicyTag createPolicyTag(String parent, PolicyTag policyTag) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreatePolicyTagRequest request =
* CreatePolicyTagRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
+ * .toString())
* .setPolicyTag(PolicyTag.newBuilder().build())
* .build();
* PolicyTag response = policyTagManagerClient.createPolicyTag(request);
@@ -739,7 +742,9 @@ public final PolicyTag createPolicyTag(CreatePolicyTagRequest request) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* CreatePolicyTagRequest request =
* CreatePolicyTagRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
+ * .toString())
* .setPolicyTag(PolicyTag.newBuilder().build())
* .build();
* ApiFuture future =
@@ -955,7 +960,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(TaxonomyName parent) {
*
* {@code
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
- * String parent = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString();
+ * String parent =
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]").toString();
* for (PolicyTag element : policyTagManagerClient.listPolicyTags(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -980,7 +986,9 @@ public final ListPolicyTagsPagedResponse listPolicyTags(String parent) {
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListPolicyTagsRequest request =
* ListPolicyTagsRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
+ * .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1007,7 +1015,9 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListPolicyTagsRequest request =
* ListPolicyTagsRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
+ * .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
@@ -1035,7 +1045,9 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* ListPolicyTagsRequest request =
* ListPolicyTagsRequest.newBuilder()
- * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setParent(
+ * PolicyTagName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]", "[POLICY_TAG]")
+ * .toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java
index 0c2aa59c..5cc4bbf2 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClient.java
@@ -38,7 +38,7 @@
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .build();
* ImportTaxonomiesResponse response =
* policyTagManagerSerializationClient.importTaxonomies(request);
@@ -165,7 +165,7 @@ public PolicyTagManagerSerializationStub getStub() {
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .build();
* ImportTaxonomiesResponse response =
* policyTagManagerSerializationClient.importTaxonomies(request);
@@ -192,7 +192,7 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .build();
* ApiFuture future =
* policyTagManagerSerializationClient.importTaxonomiesCallable().futureCall(request);
@@ -220,7 +220,7 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
* PolicyTagManagerSerializationClient.create()) {
* ExportTaxonomiesRequest request =
* ExportTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .addAllTaxonomies(new ArrayList())
* .build();
* ExportTaxonomiesResponse response =
@@ -249,7 +249,7 @@ public final ExportTaxonomiesResponse exportTaxonomies(ExportTaxonomiesRequest r
* PolicyTagManagerSerializationClient.create()) {
* ExportTaxonomiesRequest request =
* ExportTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .addAllTaxonomies(new ArrayList())
* .build();
* ApiFuture future =
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java
index c1d42e36..3ff2548a 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/package-info.java
@@ -60,7 +60,7 @@
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
* ImportTaxonomiesRequest.newBuilder()
- * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
* .build();
* ImportTaxonomiesResponse response =
* policyTagManagerSerializationClient.importTaxonomies(request);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java
index 28d5735d..e822b804 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java
@@ -2433,7 +2433,7 @@ public void setIamPolicyTest() throws Exception {
.build();
mockDataCatalog.addResponse(expectedResponse);
- ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
+ ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
Policy policy = Policy.newBuilder().build();
Policy actualResponse = client.setIamPolicy(resource, policy);
@@ -2457,7 +2457,7 @@ public void setIamPolicyExceptionTest() throws Exception {
mockDataCatalog.addException(exception);
try {
- ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
+ ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
Policy policy = Policy.newBuilder().build();
client.setIamPolicy(resource, policy);
Assert.fail("No exception raised");
@@ -2519,7 +2519,7 @@ public void getIamPolicyTest() throws Exception {
.build();
mockDataCatalog.addResponse(expectedResponse);
- ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
+ ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
Policy actualResponse = client.getIamPolicy(resource);
Assert.assertEquals(expectedResponse, actualResponse);
@@ -2541,7 +2541,7 @@ public void getIamPolicyExceptionTest() throws Exception {
mockDataCatalog.addException(exception);
try {
- ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
+ ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
client.getIamPolicy(resource);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
@@ -2597,8 +2597,7 @@ public void testIamPermissionsTest() throws Exception {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.addAllPermissions(new ArrayList())
.build();
@@ -2625,8 +2624,7 @@ public void testIamPermissionsExceptionTest() throws Exception {
try {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.addAllPermissions(new ArrayList())
.build();
client.testIamPermissions(request);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java
index 02d9f82b..9ef92347 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClientTest.java
@@ -862,8 +862,7 @@ public void getIamPolicyTest() throws Exception {
GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.setOptions(GetPolicyOptions.newBuilder().build())
.build();
@@ -890,8 +889,7 @@ public void getIamPolicyExceptionTest() throws Exception {
try {
GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.setOptions(GetPolicyOptions.newBuilder().build())
.build();
client.getIamPolicy(request);
@@ -913,8 +911,7 @@ public void setIamPolicyTest() throws Exception {
SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.setPolicy(Policy.newBuilder().build())
.build();
@@ -941,8 +938,7 @@ public void setIamPolicyExceptionTest() throws Exception {
try {
SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.setPolicy(Policy.newBuilder().build())
.build();
client.setIamPolicy(request);
@@ -960,8 +956,7 @@ public void testIamPermissionsTest() throws Exception {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.addAllPermissions(new ArrayList())
.build();
@@ -988,8 +983,7 @@ public void testIamPermissionsExceptionTest() throws Exception {
try {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.addAllPermissions(new ArrayList())
.build();
client.testIamPermissions(request);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java
index 6535a1c5..e3cad102 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java
@@ -137,7 +137,7 @@ public void importTaxonomiesTest() throws Exception {
ImportTaxonomiesRequest request =
ImportTaxonomiesRequest.newBuilder()
- .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.build();
ImportTaxonomiesResponse actualResponse = client.importTaxonomies(request);
@@ -164,7 +164,7 @@ public void importTaxonomiesExceptionTest() throws Exception {
try {
ImportTaxonomiesRequest request =
ImportTaxonomiesRequest.newBuilder()
- .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.build();
client.importTaxonomies(request);
Assert.fail("No exception raised");
@@ -183,7 +183,7 @@ public void exportTaxonomiesTest() throws Exception {
ExportTaxonomiesRequest request =
ExportTaxonomiesRequest.newBuilder()
- .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.addAllTaxonomies(new ArrayList())
.build();
@@ -211,7 +211,7 @@ public void exportTaxonomiesExceptionTest() throws Exception {
try {
ExportTaxonomiesRequest request =
ExportTaxonomiesRequest.newBuilder()
- .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.addAllTaxonomies(new ArrayList())
.build();
client.exportTaxonomies(request);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java
index 9f98c773..44c813ae 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java
@@ -2278,7 +2278,7 @@ public void setIamPolicyTest() throws Exception {
.build();
mockDataCatalog.addResponse(expectedResponse);
- ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
+ ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
Policy policy = Policy.newBuilder().build();
Policy actualResponse = client.setIamPolicy(resource, policy);
@@ -2302,7 +2302,7 @@ public void setIamPolicyExceptionTest() throws Exception {
mockDataCatalog.addException(exception);
try {
- ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
+ ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
Policy policy = Policy.newBuilder().build();
client.setIamPolicy(resource, policy);
Assert.fail("No exception raised");
@@ -2364,7 +2364,7 @@ public void getIamPolicyTest() throws Exception {
.build();
mockDataCatalog.addResponse(expectedResponse);
- ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
+ ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
Policy actualResponse = client.getIamPolicy(resource);
Assert.assertEquals(expectedResponse, actualResponse);
@@ -2386,7 +2386,7 @@ public void getIamPolicyExceptionTest() throws Exception {
mockDataCatalog.addException(exception);
try {
- ResourceName resource = EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]");
+ ResourceName resource = TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]");
client.getIamPolicy(resource);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
@@ -2442,8 +2442,7 @@ public void testIamPermissionsTest() throws Exception {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.addAllPermissions(new ArrayList())
.build();
@@ -2470,8 +2469,7 @@ public void testIamPermissionsExceptionTest() throws Exception {
try {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.addAllPermissions(new ArrayList())
.build();
client.testIamPermissions(request);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java
index ff757ad6..6d3a6e72 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java
@@ -852,8 +852,7 @@ public void getIamPolicyTest() throws Exception {
GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.setOptions(GetPolicyOptions.newBuilder().build())
.build();
@@ -880,8 +879,7 @@ public void getIamPolicyExceptionTest() throws Exception {
try {
GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.setOptions(GetPolicyOptions.newBuilder().build())
.build();
client.getIamPolicy(request);
@@ -903,8 +901,7 @@ public void setIamPolicyTest() throws Exception {
SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.setPolicy(Policy.newBuilder().build())
.build();
@@ -931,8 +928,7 @@ public void setIamPolicyExceptionTest() throws Exception {
try {
SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.setPolicy(Policy.newBuilder().build())
.build();
client.setIamPolicy(request);
@@ -950,8 +946,7 @@ public void testIamPermissionsTest() throws Exception {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.addAllPermissions(new ArrayList())
.build();
@@ -978,8 +973,7 @@ public void testIamPermissionsExceptionTest() throws Exception {
try {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
- .setResource(
- EntryName.of("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]", "[ENTRY]").toString())
+ .setResource(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.addAllPermissions(new ArrayList())
.build();
client.testIamPermissions(request);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java
index 7994c7ab..94ab57c0 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java
@@ -85,7 +85,7 @@ public void importTaxonomiesTest() throws Exception {
ImportTaxonomiesRequest request =
ImportTaxonomiesRequest.newBuilder()
- .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.build();
ImportTaxonomiesResponse actualResponse = client.importTaxonomies(request);
@@ -111,7 +111,7 @@ public void importTaxonomiesExceptionTest() throws Exception {
try {
ImportTaxonomiesRequest request =
ImportTaxonomiesRequest.newBuilder()
- .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.build();
client.importTaxonomies(request);
Assert.fail("No exception raised");
@@ -130,7 +130,7 @@ public void exportTaxonomiesTest() throws Exception {
ExportTaxonomiesRequest request =
ExportTaxonomiesRequest.newBuilder()
- .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.addAllTaxonomies(new ArrayList())
.build();
@@ -158,7 +158,7 @@ public void exportTaxonomiesExceptionTest() throws Exception {
try {
ExportTaxonomiesRequest request =
ExportTaxonomiesRequest.newBuilder()
- .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
.addAllTaxonomies(new ArrayList())
.build();
client.exportTaxonomies(request);
diff --git a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
index a85e39a3..043ea11b 100644
--- a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
@@ -28,7 +28,6 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1/datacatalog.proto")
-@io.grpc.stub.annotations.GrpcGenerated
public final class DataCatalogGrpc {
private DataCatalogGrpc() {}
diff --git a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java
index ca0bd99f..84f84e9c 100644
--- a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java
@@ -31,7 +31,6 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1/policytagmanager.proto")
-@io.grpc.stub.annotations.GrpcGenerated
public final class PolicyTagManagerGrpc {
private PolicyTagManagerGrpc() {}
diff --git a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java
index 34a64b7a..736db04a 100644
--- a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java
@@ -29,7 +29,6 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto")
-@io.grpc.stub.annotations.GrpcGenerated
public final class PolicyTagManagerSerializationGrpc {
private PolicyTagManagerSerializationGrpc() {}
diff --git a/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java b/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java
index c52edd60..04c2e3bc 100644
--- a/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java
@@ -28,7 +28,6 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1beta1/datacatalog.proto")
-@io.grpc.stub.annotations.GrpcGenerated
public final class DataCatalogGrpc {
private DataCatalogGrpc() {}
diff --git a/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java b/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java
index 2eb2f526..cfc4d133 100644
--- a/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java
@@ -28,7 +28,6 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1beta1/policytagmanager.proto")
-@io.grpc.stub.annotations.GrpcGenerated
public final class PolicyTagManagerGrpc {
private PolicyTagManagerGrpc() {}
diff --git a/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java b/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java
index d6d1ba0d..52db710d 100644
--- a/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java
@@ -28,7 +28,6 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto")
-@io.grpc.stub.annotations.GrpcGenerated
public final class PolicyTagManagerSerializationGrpc {
private PolicyTagManagerSerializationGrpc() {}
From 141e3a961d2018758bf27507efd14aa39d7ad09a Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Thu, 18 Nov 2021 19:20:14 +0000
Subject: [PATCH 19/19] chore: release 1.6.0 (#679)
:robot: I have created a release \*beep\* \*boop\*
---
## [1.6.0](https://www.github.com/googleapis/java-datacatalog/compare/v1.5.9...v1.6.0) (2021-11-17)
### Features
* Added BigQueryDateShardedSpec.latest_shard_resource field feat: Added SearchCatalogResult.display_name field feat: Added SearchCatalogResult.description field ([#683](https://www.github.com/googleapis/java-datacatalog/issues/683)) ([fdac6a0](https://www.github.com/googleapis/java-datacatalog/commit/fdac6a0a4b89c83fbc031a088b8e6cf426115563))
### Bug Fixes
* **java:** java 17 dependency arguments ([#1266](https://www.github.com/googleapis/java-datacatalog/issues/1266)) ([#678](https://www.github.com/googleapis/java-datacatalog/issues/678)) ([6d64ad2](https://www.github.com/googleapis/java-datacatalog/commit/6d64ad2c0b4728a18a5649601607417f50de9f8c))
### Documentation
* Improved formatting ([#688](https://www.github.com/googleapis/java-datacatalog/issues/688)) ([00c212f](https://www.github.com/googleapis/java-datacatalog/commit/00c212f957042dfab9a355f9b2817833ed6b6667))
### Dependencies
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 ([#690](https://www.github.com/googleapis/java-datacatalog/issues/690)) ([9248cee](https://www.github.com/googleapis/java-datacatalog/commit/9248cee1c88639bea1bf66dc422e2dc300e209f3))
* update dependency com.google.protobuf:protobuf-java-util to v3.19.1 ([#676](https://www.github.com/googleapis/java-datacatalog/issues/676)) ([65e1cdc](https://www.github.com/googleapis/java-datacatalog/commit/65e1cdc07603f98803b6f6c6ce419f4878136712))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
CHANGELOG.md | 23 +++++++++++++++++++
google-cloud-datacatalog-bom/pom.xml | 12 +++++-----
google-cloud-datacatalog/pom.xml | 4 ++--
grpc-google-cloud-datacatalog-v1/pom.xml | 4 ++--
grpc-google-cloud-datacatalog-v1beta1/pom.xml | 4 ++--
pom.xml | 12 +++++-----
proto-google-cloud-datacatalog-v1/pom.xml | 4 ++--
.../pom.xml | 4 ++--
versions.txt | 10 ++++----
9 files changed, 50 insertions(+), 27 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 19d1a6fb..784c3391 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,28 @@
# Changelog
+## [1.6.0](https://www.github.com/googleapis/java-datacatalog/compare/v1.5.9...v1.6.0) (2021-11-17)
+
+
+### Features
+
+* Added BigQueryDateShardedSpec.latest_shard_resource field feat: Added SearchCatalogResult.display_name field feat: Added SearchCatalogResult.description field ([#683](https://www.github.com/googleapis/java-datacatalog/issues/683)) ([fdac6a0](https://www.github.com/googleapis/java-datacatalog/commit/fdac6a0a4b89c83fbc031a088b8e6cf426115563))
+
+
+### Bug Fixes
+
+* **java:** java 17 dependency arguments ([#1266](https://www.github.com/googleapis/java-datacatalog/issues/1266)) ([#678](https://www.github.com/googleapis/java-datacatalog/issues/678)) ([6d64ad2](https://www.github.com/googleapis/java-datacatalog/commit/6d64ad2c0b4728a18a5649601607417f50de9f8c))
+
+
+### Documentation
+
+* Improved formatting ([#688](https://www.github.com/googleapis/java-datacatalog/issues/688)) ([00c212f](https://www.github.com/googleapis/java-datacatalog/commit/00c212f957042dfab9a355f9b2817833ed6b6667))
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 ([#690](https://www.github.com/googleapis/java-datacatalog/issues/690)) ([9248cee](https://www.github.com/googleapis/java-datacatalog/commit/9248cee1c88639bea1bf66dc422e2dc300e209f3))
+* update dependency com.google.protobuf:protobuf-java-util to v3.19.1 ([#676](https://www.github.com/googleapis/java-datacatalog/issues/676)) ([65e1cdc](https://www.github.com/googleapis/java-datacatalog/commit/65e1cdc07603f98803b6f6c6ce419f4878136712))
+
### [1.5.9](https://www.github.com/googleapis/java-datacatalog/compare/v1.5.8...v1.5.9) (2021-10-19)
diff --git a/google-cloud-datacatalog-bom/pom.xml b/google-cloud-datacatalog-bom/pom.xml
index 58c44872..8d67f823 100644
--- a/google-cloud-datacatalog-bom/pom.xml
+++ b/google-cloud-datacatalog-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-datacatalog-bom
- 1.5.10-SNAPSHOT
+ 1.6.0
pom
com.google.cloud
@@ -52,27 +52,27 @@
com.google.cloud
google-cloud-datacatalog
- 1.5.10-SNAPSHOT
+ 1.6.0
com.google.api.grpc
grpc-google-cloud-datacatalog-v1
- 1.5.10-SNAPSHOT
+ 1.6.0
com.google.api.grpc
grpc-google-cloud-datacatalog-v1beta1
- 0.42.10-SNAPSHOT
+ 0.43.0
com.google.api.grpc
proto-google-cloud-datacatalog-v1
- 1.5.10-SNAPSHOT
+ 1.6.0
com.google.api.grpc
proto-google-cloud-datacatalog-v1beta1
- 0.42.10-SNAPSHOT
+ 0.43.0