Skip to content

Commit 53f9739

Browse files
Google APIscopybara-github
authored andcommitted
feat(dataplex): Allow publishing Data Profile scan results to the Dataplex Catalog
feat(dataplex): Add GetIamPolicy method for DataProduct resources docs(dataplex): Update documentation for Catalog SearchEntries filter options, including `parent_entry` and wildcard usage PiperOrigin-RevId: 828293199
1 parent baf7775 commit 53f9739

File tree

5 files changed

+18
-10
lines changed

5 files changed

+18
-10
lines changed

google/cloud/dataplex/v1/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ load(
387387

388388
csharp_proto_library(
389389
name = "dataplex_csharp_proto",
390+
extra_opts = [],
390391
deps = [":dataplex_proto"],
391392
)
392393

google/cloud/dataplex/v1/catalog.proto

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,14 +1316,17 @@ message ListEntriesRequest {
13161316
//
13171317
// * entry_type
13181318
// * entry_source.display_name
1319+
// * parent_entry
13191320
//
13201321
// The comparison operators are =, !=, <, >, <=, >=. The service compares
13211322
// strings according to lexical order.
13221323
//
13231324
// You can use the logical operators AND, OR, NOT in the filter.
13241325
//
1325-
// You can use Wildcard "*", but for entry_type you need to provide the
1326-
// full project id or number.
1326+
// You can use Wildcard "*", but for entry_type and parent_entry you need to
1327+
// provide the full project id or number.
1328+
//
1329+
// You cannot use parent_entry in conjunction with other fields.
13271330
//
13281331
// Example filter expressions:
13291332
//
@@ -1332,6 +1335,7 @@ message ListEntriesRequest {
13321335
// * "entry_type=projects/example-project/locations/us/entryTypes/a* OR
13331336
// entry_type=projects/another-project/locations/*"
13341337
// * "NOT entry_source.display_name=AnotherExampleDisplayName"
1338+
// * "parent_entry=projects/example-project/locations/us/entryGroups/example-entry-group/entries/example-entry"
13351339
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
13361340
}
13371341

google/cloud/dataplex/v1/data_profile.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ syntax = "proto3";
1717
package google.cloud.dataplex.v1;
1818

1919
import "google/api/field_behavior.proto";
20+
import "google/cloud/dataplex/v1/datascans_common.proto";
2021
import "google/cloud/dataplex/v1/processing.proto";
2122

2223
option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb";
@@ -83,6 +84,10 @@ message DataProfileSpec {
8384
// If specified, the fields will be excluded from data profile, regardless of
8485
// `include_fields` value.
8586
SelectedFields exclude_fields = 6 [(google.api.field_behavior) = OPTIONAL];
87+
88+
// Optional. If set, the latest DataScan job result will be published as
89+
// Dataplex Universal Catalog metadata.
90+
bool catalog_publishing_enabled = 8 [(google.api.field_behavior) = OPTIONAL];
8691
}
8792

8893
// DataProfileResult defines the output of DataProfileScan. Each field of the
@@ -292,4 +297,9 @@ message DataProfileResult {
292297
// Output only. The result of post scan actions.
293298
PostScanActionsResult post_scan_actions_result = 6
294299
[(google.api.field_behavior) = OUTPUT_ONLY];
300+
301+
// Output only. The status of publishing the data scan as Dataplex Universal
302+
// Catalog metadata.
303+
DataScanCatalogPublishingStatus catalog_publishing_status = 7
304+
[(google.api.field_behavior) = OUTPUT_ONLY];
295305
}

google/cloud/dataplex/v1/dataplex_grpc_service_config.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,6 @@
373373
{
374374
"service": "google.cloud.dataplex.v1.CatalogService",
375375
"method": "SearchEntriesInternal"
376-
},
377-
{
378-
"service": "google.cloud.dataplex.v1.CatalogService",
379-
"method": "SearchGatewayInternal"
380376
}
381377
],
382378
"timeout": "60s",

google/cloud/dataplex/v1/dataplex_v1.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ http:
8686
- get: '/v1/{resource=projects/*/locations/*/glossaries/*/categories/*}:getIamPolicy'
8787
- get: '/v1/{resource=projects/*/locations/*/glossaries/*/terms/*}:getIamPolicy'
8888
- get: '/v1/{resource=projects/*/locations/*/changeRequests/*}:getIamPolicy'
89+
- get: '/v1/{resource=projects/*/locations/*/dataProducts/*}:getIamPolicy'
8990
- get: '/v1/{resource=organizations/*/locations/*/encryptionConfigs/*}:getIamPolicy'
9091
- selector: google.iam.v1.IAMPolicy.SetIamPolicy
9192
post: '/v1/{resource=projects/*/locations/*/lakes/*}:setIamPolicy'
@@ -129,8 +130,6 @@ http:
129130
body: '*'
130131
- post: '/v1/{resource=projects/*/locations/*/dataProducts/*}:setIamPolicy'
131132
body: '*'
132-
- post: '/v1/{resource=projects/*/locations/*/dataProducts/*/dataAssets/*}:setIamPolicy'
133-
body: '*'
134133
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
135134
post: '/v1/{resource=projects/*/locations/*/lakes/*}:testIamPermissions'
136135
body: '*'
@@ -173,8 +172,6 @@ http:
173172
body: '*'
174173
- post: '/v1/{resource=projects/*/locations/*/dataProducts/*}:testIamPermissions'
175174
body: '*'
176-
- post: '/v1/{resource=projects/*/locations/*/dataProducts/*/dataAssets/*}:testIamPermissions'
177-
body: '*'
178175
- selector: google.longrunning.Operations.CancelOperation
179176
post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
180177
body: '*'

0 commit comments

Comments
 (0)