Skip to content

Commit a1ab4d4

Browse files
Google APIscopybara-github
authored andcommitted
feat: Policy Tag Manager v1 API service
feat: new RenameTagTemplateFieldEnumValue API feat: adding fully_qualified_name in lookup and search feat: added DATAPROC_METASTORE integrated system along with new entry types: DATABASE and SERVICE docs: Documentation improvements PiperOrigin-RevId: 365620142
1 parent 45445f4 commit a1ab4d4

14 files changed

+1093
-196
lines changed

google/cloud/datacatalog/v1/BUILD.bazel

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
# This file was automatically generated by BuildFileGenerator
2+
# https://github.com/googleapis/rules_gapic/tree/master/bazel
3+
4+
# Most of the manual changes to this file will be overwritten.
5+
# It's **only** allowed to change the following rule attribute values:
6+
# - names of *_gapic_assembly_* rules
7+
# - certain parameters of *_gapic_library rules, including but not limited to:
8+
# * extra_protoc_parameters
9+
# * extra_protoc_file_parameters
10+
# The complete list of preserved parameters can be found in the source code.
211

312
# This is an API workspace, having public visibility by default makes perfect sense.
413
package(default_visibility = ["//visibility:public"])
@@ -13,8 +22,11 @@ proto_library(
1322
name = "datacatalog_proto",
1423
srcs = [
1524
"common.proto",
25+
"data_source.proto",
1626
"datacatalog.proto",
1727
"gcs_fileset_spec.proto",
28+
"policytagmanager.proto",
29+
"policytagmanagerserialization.proto",
1830
"schema.proto",
1931
"search.proto",
2032
"table_spec.proto",
@@ -83,6 +95,8 @@ java_gapic_test(
8395
name = "datacatalog_java_gapic_test_suite",
8496
test_classes = [
8597
"com.google.cloud.datacatalog.v1.DataCatalogClientTest",
98+
"com.google.cloud.datacatalog.v1.PolicyTagManagerClientTest",
99+
"com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationClientTest",
86100
],
87101
runtime_deps = [":datacatalog_java_gapic_test"],
88102
)
@@ -125,6 +139,7 @@ go_gapic_library(
125139
srcs = [":datacatalog_proto_with_info"],
126140
grpc_service_config = "datacatalog_grpc_service_config.json",
127141
importpath = "cloud.google.com/go/datacatalog/apiv1;datacatalog",
142+
metadata = True,
128143
service_yaml = "datacatalog_v1.yaml",
129144
deps = [
130145
":datacatalog_go_proto",
@@ -144,6 +159,7 @@ go_gapic_assembly_pkg(
144159
name = "gapi-cloud-datacatalog-v1-go",
145160
deps = [
146161
":datacatalog_go_gapic",
162+
":datacatalog_go_gapic_srcjar-metadata.srcjar",
147163
":datacatalog_go_gapic_srcjar-test.srcjar",
148164
":datacatalog_go_proto",
149165
],
@@ -251,8 +267,8 @@ nodejs_gapic_assembly_pkg(
251267
##############################################################################
252268
load(
253269
"@com_google_googleapis_imports//:imports.bzl",
254-
"ruby_gapic_assembly_pkg",
255270
"ruby_cloud_gapic_library",
271+
"ruby_gapic_assembly_pkg",
256272
"ruby_grpc_library",
257273
"ruby_proto_library",
258274
)
@@ -272,11 +288,11 @@ ruby_cloud_gapic_library(
272288
name = "datacatalog_ruby_gapic",
273289
srcs = [":datacatalog_proto_with_info"],
274290
extra_protoc_parameters = [
275-
"ruby-cloud-gem-name=google-cloud-data_catalog-v1",
276-
"ruby-cloud-env-prefix=DATA_CATALOG",
277-
"ruby-cloud-product-url=https://cloud.google.com/data-catalog",
278291
"ruby-cloud-api-id=datacatalog.googleapis.com",
279292
"ruby-cloud-api-shortname=datacatalog",
293+
"ruby-cloud-env-prefix=DATA_CATALOG",
294+
"ruby-cloud-gem-name=google-cloud-data_catalog-v1",
295+
"ruby-cloud-product-url=https://cloud.google.com/data-catalog",
280296
],
281297
grpc_service_config = "datacatalog_grpc_service_config.json",
282298
ruby_cloud_description = "DataCatalog is a centralized and unified data catalog service for all your Cloud resources, where users and systems can discover data, explore and curate its semantics, understand how to act on it, and help govern its usage.",

google/cloud/datacatalog/v1/common.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -35,4 +35,7 @@ enum IntegratedSystem {
3535

3636
// Cloud Pub/Sub.
3737
CLOUD_PUBSUB = 2;
38+
39+
// Dataproc Metastore.
40+
DATAPROC_METASTORE = 3;
3841
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
// Copyright 2021 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+
15+
syntax = "proto3";
16+
17+
package google.cloud.datacatalog.v1;
18+
19+
import "google/api/field_behavior.proto";
20+
21+
option cc_enable_arenas = true;
22+
option csharp_namespace = "Google.Cloud.DataCatalog.V1";
23+
option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
24+
option java_multiple_files = true;
25+
option java_outer_classname = "DataSourceProto";
26+
option java_package = "com.google.cloud.datacatalog.v1";
27+
option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
28+
option ruby_package = "Google::Cloud::DataCatalog::V1";
29+
30+
// Describes the physical location of an entry.
31+
message DataSource {
32+
// Service name where the data is stored.
33+
enum Service {
34+
// Default unknown service.
35+
SERVICE_UNSPECIFIED = 0;
36+
37+
// Google Cloud Storage service.
38+
CLOUD_STORAGE = 1;
39+
40+
// BigQuery service.
41+
BIGQUERY = 2;
42+
}
43+
44+
// Service in which the data is physically stored.
45+
Service service = 1;
46+
47+
// Full name of the resource as defined by the service, e.g.
48+
// //bigquery.googleapis.com/projects/{project_id}/locations/{location}/datasets/{dataset_id}/tables/{table_id}
49+
string resource = 2;
50+
}

0 commit comments

Comments
 (0)