Skip to content

Commit

Permalink
feat: added ScalingConfig (v1)
Browse files Browse the repository at this point in the history
feat: added Auxiliary Versions Config (v1)
feat: added Dataplex and BQ metastore types for federation (v1alpa, v1beta)

PiperOrigin-RevId: 524313740
  • Loading branch information
Google APIs authored and copybara-github committed Apr 14, 2023
1 parent 526307a commit 63d1a0e
Show file tree
Hide file tree
Showing 13 changed files with 537 additions and 233 deletions.
28 changes: 25 additions & 3 deletions google/cloud/metastore/logging/v1/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ proto_library(
srcs = [
"log_streams.proto",
],
deps = [],
deps = [

],
)

##############################################################################
Expand Down Expand Up @@ -42,14 +44,24 @@ java_grpc_library(
load(
"@com_google_googleapis_imports//:imports.bzl",
"go_proto_library",
"go_gapic_assembly_pkg",
)

go_proto_library(
name = "logging_go_proto",
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
importpath = "cloud.google.com/go/metastore/logging/apiv1/loggingpb",
protos = [":logging_proto"],
deps = [],
deps = [

],
)

go_gapic_assembly_pkg(
name = "logging-v1-go",
deps = [
":logging_go_proto",
],
)

##############################################################################
Expand All @@ -65,7 +77,9 @@ load(
moved_proto_library(
name = "logging_moved_proto",
srcs = [":logging_proto"],
deps = [],
deps = [

],
)

py_proto_library(
Expand All @@ -84,6 +98,7 @@ py_grpc_library(
##############################################################################
load(
"@com_google_googleapis_imports//:imports.bzl",
"php_gapic_assembly_pkg",
"php_grpc_library",
"php_proto_library",
)
Expand All @@ -99,6 +114,13 @@ php_grpc_library(
deps = [":logging_php_proto"],
)

php_gapic_assembly_pkg(
name = "logging-v1-php",
deps = [
":logging_php_proto",
],
)

##############################################################################
# Node.js
##############################################################################
Expand Down
23 changes: 16 additions & 7 deletions google/cloud/metastore/v1/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ proto_library_with_info(
deps = [
":metastore_proto",
"//google/cloud:common_resources_proto",
"//google/cloud/location:location_proto",
"//google/iam/v1:iam_policy_proto",
],
)

Expand Down Expand Up @@ -77,12 +79,16 @@ java_gapic_library(
rest_numeric_enums = True,
service_yaml = "metastore_v1.yaml",
test_deps = [
"//google/cloud/location:location_java_grpc",
"//google/iam/v1:iam_java_grpc",
":metastore_java_grpc",
],
transport = "grpc+rest",
deps = [
":metastore_java_proto",
"//google/api:api_java_proto",
"//google/cloud/location:location_java_proto",
"//google/iam/v1:iam_java_proto",
],
)

Expand All @@ -91,6 +97,8 @@ java_gapic_test(
test_classes = [
"com.google.cloud.metastore.v1.DataprocMetastoreClientHttpJsonTest",
"com.google.cloud.metastore.v1.DataprocMetastoreClientTest",
"com.google.cloud.metastore.v1.DataprocMetastoreFederationClientHttpJsonTest",
"com.google.cloud.metastore.v1.DataprocMetastoreFederationClientTest",
],
runtime_deps = [":metastore_java_gapic_test"],
)
Expand Down Expand Up @@ -164,6 +172,7 @@ go_gapic_assembly_pkg(
deps = [
":metastore_go_gapic",
":metastore_go_gapic_srcjar-metadata.srcjar",
":metastore_go_gapic_srcjar-snippets.srcjar",
":metastore_go_gapic_srcjar-test.srcjar",
":metastore_go_proto",
],
Expand All @@ -183,13 +192,13 @@ py_gapic_library(
name = "metastore_py_gapic",
srcs = [":metastore_proto"],
grpc_service_config = "metastore_grpc_service_config.json",
opt_args = [
"warehouse-package-name=google-cloud-dataproc-metastore",
],
opt_args = ["warehouse-package-name=google-cloud-dataproc-metastore"],
rest_numeric_enums = True,
service_yaml = "metastore_v1.yaml",
transport = "grpc+rest",
deps = ["//google/iam/v1:iam_policy_py_proto"],
deps = [
"//google/iam/v1:iam_policy_py_proto",
],
)

py_test(
Expand Down Expand Up @@ -311,11 +320,11 @@ ruby_cloud_gapic_library(
name = "metastore_ruby_gapic",
srcs = [":metastore_proto_with_info"],
extra_protoc_parameters = [
"ruby-cloud-gem-name=google-cloud-metastore-v1",
"ruby-cloud-env-prefix=METASTORE",
"ruby-cloud-product-url=https://cloud.google.com/dataproc-metastore/",
"ruby-cloud-api-id=metastore.googleapis.com",
"ruby-cloud-api-shortname=metastore",
"ruby-cloud-env-prefix=METASTORE",
"ruby-cloud-gem-name=google-cloud-metastore-v1",
"ruby-cloud-product-url=https://cloud.google.com/dataproc-metastore/",
],
grpc_service_config = "metastore_grpc_service_config.json",
rest_numeric_enums = True,
Expand Down
Loading

0 comments on commit 63d1a0e

Please sign in to comment.