chore: Add Ruby wrapper for aiplatform

PiperOrigin-RevId: 438119771
pull/708/head
Google APIs 3 years ago committed by Copybara-Service
parent 151e02bdb2
commit a8b0684874
  1. 41
      google/cloud/aiplatform/BUILD.bazel

@ -0,0 +1,41 @@
# This build file includes a target for the Ruby wrapper library for
# google-cloud-ai_platform.
# This is an API workspace, having public visibility by default makes perfect sense.
package(default_visibility = ["//visibility:public"])
# Export yaml configs.
exports_files(glob(["*.yaml"]))
load(
"@com_google_googleapis_imports//:imports.bzl",
"ruby_cloud_gapic_library",
"ruby_gapic_assembly_pkg",
)
# Generates a Ruby wrapper client for aiplatform.
# Ruby wrapper clients are versionless, but are generated from source protos
# for a particular service version, v1 in this case.
ruby_cloud_gapic_library(
name = "aiplatform_ruby_wrapper",
srcs = ["//google/cloud/aiplatform/v1:aiplatform_proto_with_info"],
extra_protoc_parameters = [
"ruby-cloud-gem-name=google-cloud-ai_platform",
"ruby-cloud-wrapper-of=v1:0.0",
"ruby-cloud-product-url=https://cloud.google.com/vertex-ai/docs/",
"ruby-cloud-api-id=aiplatform.googleapis.com",
"ruby-cloud-api-shortname=aiplatform",
"ruby-cloud-gem-namespace=Google::Cloud::AIPlatform",
"ruby-cloud-service-override=AiPlatform=AIPlatform",
],
ruby_cloud_description = "Vertex AI enables data scientists, developers, and AI newcomers to create custom machine learning models specific to their business needs by leveraging Google's state-of-the-art transfer learning and innovative AI research.",
ruby_cloud_title = "Vertex AI",
)
# Open Source package.
ruby_gapic_assembly_pkg(
name = "google-cloud-aiplatform-ruby",
deps = [
":aiplatform_ruby_wrapper",
],
)
Loading…
Cancel
Save