Skip to content

Commit 05fb262

Browse files
Google APIscopybara-github
authored andcommitted
feat: exposing EntrySource.location field that contains location of a resource in the source system
--- docs: Scrub descriptions for GenerateDataQualityRules PiperOrigin-RevId: 644032512
1 parent 1e76b72 commit 05fb262

2 files changed

Lines changed: 20 additions & 8 deletions

File tree

google/cloud/dataplex/v1/catalog.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,12 @@ message EntrySource {
713713

714714
// The update time of the resource in the source system.
715715
google.protobuf.Timestamp update_time = 11;
716+
717+
// Output only. Location of the resource in the source system. Entry will be
718+
// searchable by this location. By default, this should match the location of
719+
// the EntryGroup containing this entry. A different value allows capturing
720+
// source location for data external to GCP.
721+
string location = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
716722
}
717723

718724
// Create EntryGroup Request

google/cloud/dataplex/v1/datascans.proto

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ service DataScanService {
126126
option (google.api.method_signature) = "parent";
127127
}
128128

129-
// Generates recommended DataQualityRule from a data profiling DataScan.
129+
// Generates recommended data quality rules based on the results of a data
130+
// profiling scan.
131+
//
132+
// Use the recommendations to build rules for a data quality scan.
130133
rpc GenerateDataQualityRules(GenerateDataQualityRulesRequest)
131134
returns (GenerateDataQualityRulesResponse) {
132135
option (google.api.http) = {
@@ -381,18 +384,21 @@ message ListDataScanJobsResponse {
381384
string next_page_token = 2;
382385
}
383386

384-
// Generate recommended DataQualityRules request.
387+
// Request details for generating data quality rule recommendations.
385388
message GenerateDataQualityRulesRequest {
386-
// Required. The name should be either
387-
// * the name of a datascan with at least one successful completed data
388-
// profiling job, or
389-
// * the name of a successful completed data profiling datascan job.
389+
// Required. The name must be one of the following:
390+
//
391+
// * The name of a data scan with at least one successful, completed data
392+
// profiling job
393+
// * The name of a successful, completed data profiling job (a data scan job
394+
// where the job type is data profiling)
390395
string name = 1 [(google.api.field_behavior) = REQUIRED];
391396
}
392397

393-
// Generate recommended DataQualityRules response.
398+
// Response details for data quality rule recommendations.
394399
message GenerateDataQualityRulesResponse {
395-
// Generated recommended {@link DataQualityRule}s.
400+
// The data quality rules that Dataplex generates based on the results
401+
// of a data profiling scan.
396402
repeated DataQualityRule rule = 1;
397403
}
398404

0 commit comments

Comments
 (0)