Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
feat: Added BigQueryDateShardedSpec.latest_shard_resource field feat:…
Browse files Browse the repository at this point in the history
… Added SearchCatalogResult.display_name field feat: Added SearchCatalogResult.description field (#683)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408274419

Source-Link: googleapis/googleapis@cbba92c

Source-Link: https://github.com/googleapis/googleapis-gen/commit/64b969f1299f572fbb269530cbc454966b14851d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjRiOTY5ZjEyOTlmNTcyZmJiMjY5NTMwY2JjNDU0OTY2YjE0ODUxZCJ9
  • Loading branch information
gcf-owl-bot[bot] authored Nov 17, 2021
1 parent 5525650 commit fdac6a0
Show file tree
Hide file tree
Showing 19 changed files with 132 additions and 118 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ public final EntryGroup createEntryGroup(
*
* <pre>{@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);
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -1815,7 +1815,7 @@ public final TagTemplate createTagTemplate(
*
* <pre>{@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 =
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -3318,7 +3318,8 @@ public final void deleteTag(EntryName name) {
*
* <pre>{@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);
* }
* }</pre>
Expand All @@ -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);
* }
Expand All @@ -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<Empty> future = dataCatalogClient.deleteTagCallable().futureCall(request);
* // Do something.
Expand Down Expand Up @@ -3414,7 +3417,7 @@ public final ListTagsPagedResponse listTags(EntryName parent) {
* <pre>{@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);
* }
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand All @@ -3498,7 +3503,8 @@ public final UnaryCallable<ListTagsRequest, ListTagsPagedResponse> 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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public final Taxonomy createTaxonomy(LocationName parent, Taxonomy taxonomy) {
*
* <pre>{@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);
* }
Expand Down Expand Up @@ -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);
Expand All @@ -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<Taxonomy> future =
Expand Down Expand Up @@ -466,7 +466,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(LocationName parent) {
*
* <pre>{@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);
* }
Expand All @@ -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();
Expand All @@ -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();
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -694,7 +694,8 @@ public final PolicyTag createPolicyTag(TaxonomyName parent, PolicyTag policyTag)
*
* <pre>{@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);
* }
Expand All @@ -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);
Expand All @@ -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<PolicyTag> future =
Expand Down Expand Up @@ -984,7 +989,8 @@ public final ListPolicyTagsPagedResponse listPolicyTags(TaxonomyName parent) {
*
* <pre>{@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);
* }
Expand All @@ -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();
Expand All @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public final UnaryCallable<ReplaceTaxonomyRequest, Taxonomy> 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);
Expand Down Expand Up @@ -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<ImportTaxonomiesResponse> future =
* policyTagManagerSerializationClient.importTaxonomiesCallable().futureCall(request);
Expand Down Expand Up @@ -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<String>())
* .build();
* ExportTaxonomiesResponse response =
Expand Down Expand Up @@ -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<String>())
* .build();
* ApiFuture<ExportTaxonomiesResponse> future =
Expand Down
Loading

0 comments on commit fdac6a0

Please sign in to comment.