chore(ruby): Re-enable bigquery-storage-v1 generation, which also required updating protobuf from 3.15.3 to 3.18.1 for codegen

PiperOrigin-RevId: 403132955
pull/675/head
Google APIs 3 years ago committed by Copybara-Service
parent c3e8e8cb47
commit d2977af9e9
  1. 6
      WORKSPACE
  2. 97
      google/cloud/bigquery/storage/v1/BUILD.bazel

@ -47,9 +47,9 @@ http_archive(
http_archive( http_archive(
name = "com_google_protobuf", name = "com_google_protobuf",
sha256 = "b10bf4e2d1a7586f54e64a5d9e7837e5188fc75ae69e36f215eb01def4f9721b", sha256 = "9111bf0b542b631165fadbd80aa60e7fb25b25311c532139ed2089d76ddf6dd7",
strip_prefix = "protobuf-3.15.3", strip_prefix = "protobuf-3.18.1",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.15.3.tar.gz"], urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.18.1.tar.gz"],
) )
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")

@ -243,55 +243,54 @@ nodejs_gapic_assembly_pkg(
############################################################################## ##############################################################################
# Ruby # Ruby
############################################################################## ##############################################################################
# disabled due to https://github.com/protocolbuffers/protobuf/issues/7992
# load(
# load( "@com_google_googleapis_imports//:imports.bzl",
# "@com_google_googleapis_imports//:imports.bzl", "ruby_cloud_gapic_library",
# "ruby_cloud_gapic_library", "ruby_gapic_assembly_pkg",
# "ruby_gapic_assembly_pkg", "ruby_grpc_library",
# "ruby_grpc_library", "ruby_proto_library",
# "ruby_proto_library", )
# )
ruby_proto_library(
# ruby_proto_library( name = "storage_ruby_proto",
# name = "storage_ruby_proto", deps = [":storage_proto"],
# deps = [":storage_proto"], )
# )
ruby_grpc_library(
# ruby_grpc_library( name = "storage_ruby_grpc",
# name = "storage_ruby_grpc", srcs = [":storage_proto"],
# srcs = [":storage_proto"], deps = [":storage_ruby_proto"],
# deps = [":storage_ruby_proto"], )
# )
ruby_cloud_gapic_library(
# ruby_cloud_gapic_library( name = "storage_ruby_gapic",
# name = "storage_ruby_gapic", srcs = [":storage_proto_with_info"],
# srcs = [":storage_proto_with_info"], extra_protoc_parameters = [
# extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-bigquery-storage-v1",
# "ruby-cloud-gem-name=google-cloud-bigquery-storage-v1", "ruby-cloud-env-prefix=BIGQUERY_STORAGE",
# "ruby-cloud-env-prefix=BIGQUERY_STORAGE", "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/storage",
# "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/storage", "ruby-cloud-api-id=bigquerystorage.googleapis.com",
# "ruby-cloud-api-id=bigquerystorage.googleapis.com", "ruby-cloud-api-shortname=bigquerystorage",
# "ruby-cloud-api-shortname=bigquerystorage", ],
# ], grpc_service_config = "bigquerystorage_grpc_service_config.json",
# grpc_service_config = "bigquerystorage_grpc_service_config.json", ruby_cloud_description = "The BigQuery Storage API provides fast access to BigQuery managed storage.",
# ruby_cloud_description = "The BigQuery Storage API provides fast access to BigQuery managed storage.", ruby_cloud_title = "BigQuery Storage V1",
# ruby_cloud_title = "BigQuery Storage V1", deps = [
# deps = [ ":storage_ruby_grpc",
# ":storage_ruby_grpc", ":storage_ruby_proto",
# ":storage_ruby_proto", ],
# ], )
# )
# Open Source Packages
# # Open Source Packages ruby_gapic_assembly_pkg(
# ruby_gapic_assembly_pkg( name = "google-cloud-bigquery-storage-v1-ruby",
# name = "google-cloud-bigquery-storage-v1-ruby", deps = [
# deps = [ ":storage_ruby_gapic",
# ":storage_ruby_gapic", ":storage_ruby_grpc",
# ":storage_ruby_grpc", ":storage_ruby_proto",
# ":storage_ruby_proto", ],
# ], )
# )
############################################################################## ##############################################################################
# C# # C#

Loading…
Cancel
Save