Skip to content

Commit

Permalink
feat: added client side library for the followings:
Browse files Browse the repository at this point in the history
1. Unified Metastore APIs.
2. CRUD Metastore APIs (e.g. EntryGroup, AspectType, EntryType, Entry).

PiperOrigin-RevId: 617067899
  • Loading branch information
Google APIs authored and Copybara-Service committed Mar 19, 2024
1 parent 1af32e6 commit 4fd0bc4
Show file tree
Hide file tree
Showing 6 changed files with 1,513 additions and 4 deletions.
21 changes: 18 additions & 3 deletions google/cloud/dataplex/v1/BUILD.bazel
Expand Up @@ -9,19 +9,23 @@
# * extra_protoc_file_parameters
# The complete list of preserved parameters can be found in the source code.

# buildifier: disable=load-on-top

# This is an API workspace, having public visibility by default makes perfect sense.
package(default_visibility = ["//visibility:public"])

##############################################################################
# Common
##############################################################################
load("@rules_proto//proto:defs.bzl", "proto_library")
# buildifier: disable=same-origin-load
load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
load("@rules_proto//proto:defs.bzl", "proto_library")

proto_library(
name = "dataplex_proto",
srcs = [
"analyze.proto",
"catalog.proto",
"content.proto",
"data_profile.proto",
"data_quality.proto",
Expand All @@ -46,6 +50,7 @@ proto_library(
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:empty_proto",
"@com_google_protobuf//:field_mask_proto",
"@com_google_protobuf//:struct_proto",
"@com_google_protobuf//:timestamp_proto",
],
)
Expand All @@ -63,6 +68,7 @@ proto_library_with_info(
##############################################################################
# Java
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"java_gapic_assembly_gradle_pkg",
Expand Down Expand Up @@ -91,9 +97,9 @@ java_gapic_library(
rest_numeric_enums = True,
service_yaml = "dataplex_v1.yaml",
test_deps = [
":dataplex_java_grpc",
"//google/cloud/location:location_java_grpc",
"//google/iam/v1:iam_java_grpc",
":dataplex_java_grpc",
],
transport = "grpc+rest",
deps = [
Expand All @@ -107,6 +113,8 @@ java_gapic_library(
java_gapic_test(
name = "dataplex_java_gapic_test_suite",
test_classes = [
"com.google.cloud.dataplex.v1.CatalogServiceClientHttpJsonTest",
"com.google.cloud.dataplex.v1.CatalogServiceClientTest",
"com.google.cloud.dataplex.v1.ContentServiceClientHttpJsonTest",
"com.google.cloud.dataplex.v1.ContentServiceClientTest",
"com.google.cloud.dataplex.v1.DataScanServiceClientHttpJsonTest",
Expand Down Expand Up @@ -137,6 +145,7 @@ java_gapic_assembly_gradle_pkg(
##############################################################################
# Go
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"go_gapic_assembly_pkg",
Expand Down Expand Up @@ -174,6 +183,7 @@ go_gapic_library(
"@com_google_cloud_go_longrunning//:go_default_library",
"@com_google_cloud_go_longrunning//autogen:go_default_library",
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
"@io_bazel_rules_go//proto/wkt:struct_go_proto",
],
)

Expand All @@ -192,6 +202,7 @@ go_gapic_assembly_pkg(
##############################################################################
# Python
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"py_gapic_assembly_pkg",
Expand Down Expand Up @@ -232,6 +243,7 @@ py_gapic_assembly_pkg(
##############################################################################
# PHP
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"php_gapic_assembly_pkg",
Expand Down Expand Up @@ -269,6 +281,7 @@ php_gapic_assembly_pkg(
##############################################################################
# Node.js
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"nodejs_gapic_assembly_pkg",
Expand Down Expand Up @@ -300,6 +313,7 @@ nodejs_gapic_assembly_pkg(
##############################################################################
# Ruby
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"ruby_cloud_gapic_library",
Expand Down Expand Up @@ -353,6 +367,7 @@ ruby_gapic_assembly_pkg(
##############################################################################
# C#
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"csharp_gapic_assembly_pkg",
Expand All @@ -363,7 +378,6 @@ load(

csharp_proto_library(
name = "dataplex_csharp_proto",
extra_opts = [],
deps = [":dataplex_proto"],
)

Expand Down Expand Up @@ -400,6 +414,7 @@ csharp_gapic_assembly_pkg(
##############################################################################
# C++
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"cc_grpc_library",
Expand Down

0 comments on commit 4fd0bc4

Please sign in to comment.