googleapis/google/cloud/dataplex/v1/data_documentation.proto
Google APIs 69ca7ae2e6 feat(dataplex): add DataProductService to manage data products and underlying data assets
feat(dataplex): add MetadataFeed to CatalogService for tracking metadata changes
feat(dataplex): add LookupContext to CatalogService for LLM-generated resource context
feat(dataplex): add support for attaching aspects to EntryLinks
feat(dataplex): add UpdateEntryLink and LookupEntryLinks methods to CatalogService
feat(dataplex): support OneTime triggers for DataScan operations
feat(dataplex): add debug query support to Data Quality rules
feat(dataplex): allow selective generation scope for Data Documentation scans
feat(dataplex): add SKIPPED state to DataScan catalog publishing status
docs(dataplex): remove deprecated metadata change warnings in Dataplex Catalog

The DataProductService provides APIs to curate and manage collections of data assets as data products, enabling more organized sharing and usage for specific business cases.

MetadataFeeds allow users to monitor metadata changes (CREATE, UPDATE, DELETE) within a specified scope (organization, project, or entry group) and publish them to Pub/Sub.

CatalogService now includes a LookupContext API to provide LLM-generated context for resources, and enhanced EntryLink management, including the ability to attach aspects.

DataScan operations now support a OneTime trigger for single-run scans, and Data Quality rules support DebugQueries to help investigate rule failures by returning diagnostic values.

fix(dataplex)!: remove deprecated Explore-related methods and messages from public client libraries

Breaking Changes:
- Removed ContentService and all associated methods (CreateContent, UpdateContent, DeleteContent, GetContent, ListContent, etc.) and request/response messages.
- Removed Environment and Session management methods from DataplexService (CreateEnvironment, UpdateEnvironment, DeleteEnvironment, ListEnvironments, GetEnvironment, ListSessions) and their associated messages.

PiperOrigin-RevId: 883306841
2026-03-13 13:15:29 -07:00

108 lines
4 KiB
Protocol Buffer

// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
package google.cloud.dataplex.v1;
import "google/api/field_behavior.proto";
option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb";
option java_multiple_files = true;
option java_outer_classname = "DataDocumentationProto";
option java_package = "com.google.cloud.dataplex.v1";
// DataDocumentation scan related spec.
message DataDocumentationSpec {
// The data documentation generation scope. This field contains the possible
// components of a data documentation scan which can be selectively generated.
enum GenerationScope {
// Unspecified generation scope. If no generation scope is specified, all
// available documentation components will be generated.
GENERATION_SCOPE_UNSPECIFIED = 0;
// All the possible results will be generated.
ALL = 1;
// Table and column descriptions will be generated.
TABLE_AND_COLUMN_DESCRIPTIONS = 2;
// SQL queries will be generated.
SQL_QUERIES = 3;
}
// Optional. Whether to publish result to Dataplex Catalog.
bool catalog_publishing_enabled = 2 [(google.api.field_behavior) = OPTIONAL];
// Optional. Specifies which components of the data documentation to generate.
// Any component that is required to generate the specified components will
// also be generated. If no generation scope is specified, all available
// documentation components will be generated.
repeated GenerationScope generation_scopes = 3
[(google.api.field_behavior) = OPTIONAL];
}
// The output of a DataDocumentation scan.
message DataDocumentationResult {
// Generated metadata about the table.
message TableResult {
// Output only. The service-qualified full resource name of the cloud
// resource. Ex:
// //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Generated description of the table.
string overview = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Schema of the table with generated metadata of the columns
// in the schema.
Schema schema = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Sample SQL queries for the table.
repeated Query queries = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// A sample SQL query in data documentation.
message Query {
// Output only. The SQL query string which can be executed.
string sql = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. The description for the query.
string description = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// Schema of the table with generated metadata of columns.
message Schema {
// Output only. The list of columns.
repeated Field fields = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// Column of a table with generated metadata and nested fields.
message Field {
// Output only. The name of the column.
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Generated description for columns and fields.
string description = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. Nested fields.
repeated Field fields = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// The result of the data documentation scan.
oneof result {
// Output only. Table result for insights.
TableResult table_result = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
}
}