1# This build file includes a target for the Ruby wrapper library for 2# google-cloud-datastream. 3 4# This is an API workspace, having public visibility by default makes perfect sense. 5package(default_visibility = ["//visibility:public"]) 6 7# Export yaml configs. 8exports_files(glob(["*.yaml"])) 9 10load( 11 "@com_google_googleapis_imports//:imports.bzl", 12 "ruby_cloud_gapic_library", 13 "ruby_gapic_assembly_pkg", 14) 15 16# Generates a Ruby wrapper client for datastream. 17# Ruby wrapper clients are versionless, but are generated from source protos 18# for a particular service version, v1 in this case. 19ruby_cloud_gapic_library( 20 name = "datastream_ruby_wrapper", 21 srcs = ["//google/cloud/datastream/v1:datastream_proto_with_info"], 22 extra_protoc_parameters = [ 23 "ruby-cloud-gem-name=google-cloud-datastream", 24 "ruby-cloud-wrapper-of=v1:0.9", 25 "ruby-cloud-product-url=https://cloud.google.com/datastream/", 26 "ruby-cloud-api-id=datastream.googleapis.com", 27 "ruby-cloud-api-shortname=datastream", 28 ], 29 ruby_cloud_description = "Datastream is a serverless and easy-to-use change data capture (CDC) and replication service. It allows you to synchronize data across heterogeneous databases and applications reliably, and with minimal latency and downtime.", 30 ruby_cloud_title = "Datastream", 31 transport = "grpc+rest", 32) 33 34# Open Source package. 35ruby_gapic_assembly_pkg( 36 name = "google-cloud-datastream-ruby", 37 deps = [ 38 ":datastream_ruby_wrapper", 39 ], 40) 41