Skip to content

Commit cbba92c

Browse files
Google APIscopybara-github
authored andcommitted
feat: Added BigQueryDateShardedSpec.latest_shard_resource field
feat: Added SearchCatalogResult.display_name field feat: Added SearchCatalogResult.description field PiperOrigin-RevId: 408274419
1 parent f81b7bd commit cbba92c

File tree

5 files changed

+26
-7
lines changed

5 files changed

+26
-7
lines changed

google/cloud/datacatalog/v1/common.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ syntax = "proto3";
1616

1717
package google.cloud.datacatalog.v1;
1818

19+
import "google/protobuf/timestamp.proto";
20+
1921
option cc_enable_arenas = true;
2022
option csharp_namespace = "Google.Cloud.DataCatalog.V1";
2123
option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";

google/cloud/datacatalog/v1/datacatalog.proto

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ service DataCatalog {
226226
}
227227

228228
// Lists entries.
229+
//
230+
// Note: Currently, this method can list only custom entries.
231+
// To get a list of both custom and automatically created entries, use
232+
// [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
229233
rpc ListEntries(ListEntriesRequest) returns (ListEntriesResponse) {
230234
option (google.api.http) = {
231235
get: "/v1/{parent=projects/*/locations/*/entryGroups/*}/entries"
@@ -566,7 +570,7 @@ message SearchCatalogRequest {
566570

567571
// Optional. The query string with a minimum of 3 characters and specific syntax.
568572
// For more information, see
569-
// [Data Catalog search syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
573+
// [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
570574
//
571575
// An empty query string returns all data assets (in the specified scope)
572576
// that you have access to.
@@ -1224,11 +1228,16 @@ message UpdateTagTemplateRequest {
12241228
TagTemplate tag_template = 1 [(google.api.field_behavior) = REQUIRED];
12251229

12261230
// Names of fields whose values to overwrite on a tag template. Currently,
1227-
// only `display_name` can be overwritten.
1231+
// only `display_name` and `is_publicly_readable` can be overwritten.
12281232
//
12291233
// If this parameter is absent or empty, all modifiable fields
12301234
// are overwritten. If such fields are non-required and omitted in the
12311235
// request body, their values are emptied.
1236+
//
1237+
// Note: Updating the ``is_publicly_readable`` field may require up to 12
1238+
// hours to take effect in search results. Additionally, it also requires
1239+
// the ``tagTemplates.getIamPolicy`` and ``tagTemplates.setIamPolicy``
1240+
// permissions.
12321241
google.protobuf.FieldMask update_mask = 2;
12331242
}
12341243

@@ -1359,7 +1368,7 @@ message UpdateTagTemplateFieldRequest {
13591368
// Request message for
13601369
// [RenameTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField].
13611370
message RenameTagTemplateFieldRequest {
1362-
// Required. The name of the tag template.
1371+
// Required. The name of the tag template field.
13631372
string name = 1 [
13641373
(google.api.field_behavior) = REQUIRED,
13651374
(google.api.resource_reference) = {

google/cloud/datacatalog/v1/policytagmanager.proto

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,7 @@ message PolicyTag {
269269

270270
// Output only. Resource name of this policy tag in the URL format.
271271
//
272-
// The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
273-
// /><br />
272+
// The policy tag manager generates unique taxonomy IDs and policy tag IDs.
274273
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
275274

276275
// Required. User-defined name of this policy tag.
@@ -391,8 +390,7 @@ message GetTaxonomyRequest {
391390
// Request message for
392391
// [CreatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag].
393392
message CreatePolicyTagRequest {
394-
// Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
395-
// />
393+
// Required. Resource name of the taxonomy that the policy tag will belong to.
396394
string parent = 1 [
397395
(google.api.field_behavior) = REQUIRED,
398396
(google.api.resource_reference) = {

google/cloud/datacatalog/v1/search.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ message SearchCatalogResult {
9494
//
9595
// `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
9696
string fully_qualified_name = 10;
97+
98+
// The display name of the result.
99+
string display_name = 12;
100+
101+
// Entry description that can consist of several sentences or paragraphs that
102+
// describe entry contents.
103+
string description = 13;
97104
}
98105

99106
// The resource types that can be returned in search results.

google/cloud/datacatalog/v1/table_spec.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,7 @@ message BigQueryDateShardedSpec {
108108

109109
// Output only. Total number of shards.
110110
int64 shard_count = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
111+
112+
// Output only. BigQuery resource name of the latest shard.
113+
string latest_shard_resource = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
111114
}

0 commit comments

Comments
 (0)