mirror of
https://github.com/googleapis/googleapis.git
synced 2026-08-16 13:00:34 +02:00
54 lines
2.1 KiB
Text
54 lines
2.1 KiB
Text
# 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",
|
|
"nodejs_gapic_combined_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:1.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",
|
|
],
|
|
transport = "grpc+rest",
|
|
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",
|
|
],
|
|
)
|
|
|
|
nodejs_gapic_combined_pkg(
|
|
name = "google-cloud-aiplatform-nodejs",
|
|
default_version = "v1",
|
|
release_level = "stable",
|
|
templates_excludes = ["package.json", "src/decorator.ts", "src/enhanced-types.json", "src/helpers.ts", "src/index.ts", "src/value-converter.ts", "test/helpers.test.ts", "test/index.test.ts", "tsconfig.json", ".OwlBot.yaml"],
|
|
deps = [
|
|
"//google/cloud/aiplatform/v1:aiplatform-v1-nodejs",
|
|
"//google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-nodejs"
|
|
],
|
|
)
|