Skip to content

Commit dba0863

Browse files
Google APIscopybara-github
authored andcommitted
docs: add messages stating that Data Catalog actions are deprecated
docs: add example resource name to VertexDatasetResourceReference PiperOrigin-RevId: 842872738
1 parent b81889f commit dba0863

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

google/privacy/dlp/v2/dlp.proto

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4394,9 +4394,11 @@ message Action {
43944394
// Publish summary to Cloud Security Command Center (Alpha).
43954395
PublishSummaryToCscc publish_summary_to_cscc = 3;
43964396

4397-
// Publish findings to Cloud Datahub.
4398-
PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog =
4399-
5;
4397+
// Deprecated because Data Catalog is being turned down. Use
4398+
// publish_findings_to_dataplex_catalog to publish findings to Dataplex
4399+
// Universal Catalog.
4400+
PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5
4401+
[deprecated = true];
44004402

44014403
// Publish findings as an aspect to Dataplex Universal Catalog.
44024404
PublishFindingsToDataplexCatalog publish_findings_to_dataplex_catalog = 10;
@@ -6460,10 +6462,14 @@ message VertexDatasetRegex {
64606462
string project_id_regex = 1;
64616463
}
64626464

6463-
// Identifies a single Vertex AI dataset.
6465+
// Identifies a single Vertex AI resource. Only datasets are
6466+
// supported.
64646467
message VertexDatasetResourceReference {
6465-
// Required. The name of the dataset resource. If set within a project-level
6468+
// Required. The name of the Vertex AI resource. If set within a project-level
64666469
// configuration, the specified resource must be within the project.
6470+
// Examples:
6471+
//
6472+
// * `projects/{project}/locations/{location}/datasets/{dataset}`
64676473
string dataset_resource_name = 1 [(google.api.field_behavior) = REQUIRED];
64686474
}
64696475

@@ -7239,30 +7245,30 @@ enum RelationalOperator {
72397245

72407246
// Type of the match which can be applied to different ways of matching, like
72417247
// Dictionary, regular expression and intersecting with findings of another
7242-
// info type.
7248+
// infoType.
72437249
enum MatchingType {
72447250
// Invalid.
72457251
MATCHING_TYPE_UNSPECIFIED = 0;
72467252

72477253
// Full match.
72487254
//
7249-
// - Dictionary: join of Dictionary results matched complete finding quote
7250-
// - Regex: all regex matches fill a finding quote start to end
7251-
// - Exclude info type: completely inside affecting info types findings
7255+
// - Dictionary: join of Dictionary results matched the complete finding quote
7256+
// - Regex: all regex matches fill a finding quote from start to end
7257+
// - Exclude infoType: completely inside affecting infoTypes findings
72527258
MATCHING_TYPE_FULL_MATCH = 1;
72537259

72547260
// Partial match.
72557261
//
72567262
// - Dictionary: at least one of the tokens in the finding matches
72577263
// - Regex: substring of the finding matches
7258-
// - Exclude info type: intersects with affecting info types findings
7264+
// - Exclude infoType: intersects with affecting infoTypes findings
72597265
MATCHING_TYPE_PARTIAL_MATCH = 2;
72607266

72617267
// Inverse match.
72627268
//
72637269
// - Dictionary: no tokens in the finding match the dictionary
72647270
// - Regex: finding doesn't match the regex
7265-
// - Exclude info type: no intersection with affecting info types findings
7271+
// - Exclude infoType: no intersection with affecting infoTypes findings
72667272
MATCHING_TYPE_INVERSE_MATCH = 3;
72677273
}
72687274

@@ -8780,14 +8786,14 @@ message DeleteTableDataProfileRequest {
87808786

87818787
// Message used to identify the type of resource being profiled.
87828788
message DataSourceType {
8783-
// Output only. An identifying string to the type of resource being profiled.
8789+
// A string that identifies the type of resource being profiled.
87848790
// Current values:
87858791
//
87868792
// * google/bigquery/table
87878793
// * google/project
87888794
// * google/sql/table
87898795
// * google/gcs/bucket
8790-
string data_source = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
8796+
string data_source = 1;
87918797
}
87928798

87938799
// Message used to identify file cluster type being profiled.

google/privacy/dlp/v2/dlp_v2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ publishing:
3232
- version: google.privacy.dlp.v2
3333
java_settings:
3434
library_package: com.google.cloud.dlp.v2
35+
common: {}

0 commit comments

Comments
 (0)