1// Copyright 2022 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package google.cloud.datacatalog.v1;
18
19import "google/protobuf/timestamp.proto";
20
21option cc_enable_arenas = true;
22option csharp_namespace = "Google.Cloud.DataCatalog.V1";
23option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb";
24option java_multiple_files = true;
25option java_package = "com.google.cloud.datacatalog.v1";
26option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
27option ruby_package = "Google::Cloud::DataCatalog::V1";
28
29// Entry metadata relevant only to the user and private to them.
30message PersonalDetails {
31  // True if the entry is starred by the user; false otherwise.
32  bool starred = 1;
33
34  // Set if the entry is starred; unset otherwise.
35  google.protobuf.Timestamp star_time = 2;
36}
37
38// This enum lists all the systems that Data Catalog integrates with.
39enum IntegratedSystem {
40  // Default unknown system.
41  INTEGRATED_SYSTEM_UNSPECIFIED = 0;
42
43  // BigQuery.
44  BIGQUERY = 1;
45
46  // Cloud Pub/Sub.
47  CLOUD_PUBSUB = 2;
48
49  // Dataproc Metastore.
50  DATAPROC_METASTORE = 3;
51
52  // Dataplex.
53  DATAPLEX = 4;
54
55  // Cloud Sql
56  CLOUD_SQL = 8;
57
58  // Looker
59  LOOKER = 9;
60}
61
62// This enum describes all the systems that manage
63// Taxonomy and PolicyTag resources in DataCatalog.
64enum ManagingSystem {
65  // Default value
66  MANAGING_SYSTEM_UNSPECIFIED = 0;
67
68  // Dataplex.
69  MANAGING_SYSTEM_DATAPLEX = 1;
70
71  // Other
72  MANAGING_SYSTEM_OTHER = 2;
73}
74