mirror of
https://github.com/googleapis/googleapis.git
synced 2026-08-16 13:00:34 +02:00
52 lines
1.8 KiB
Text
52 lines
1.8 KiB
Text
# This build file includes a target for the Ruby wrapper library for
|
|
# google-cloud-vm_migration.
|
|
|
|
# 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 VMMigration.
|
|
# 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 = "vmmigration_ruby_wrapper",
|
|
srcs = ["//google/cloud/vmmigration/v1:vmmigration_proto_with_info"],
|
|
extra_protoc_parameters = [
|
|
"ruby-cloud-gem-name=google-cloud-vm_migration",
|
|
"ruby-cloud-wrapper-of=v1:2.0",
|
|
"ruby-cloud-product-url=https://cloud.google.com/migrate/compute-engine/",
|
|
"ruby-cloud-api-id=vmmigration.googleapis.com",
|
|
"ruby-cloud-api-shortname=vmmigration",
|
|
"ruby-cloud-namespace-override=VmMigration=VMMigration",
|
|
],
|
|
ruby_cloud_description = "Migrate for Compute Engine enables you to migrate (Lift and Shift) your virtual machines (VMs), with minor automatic modifications, from your source environment to Google Compute Engine.",
|
|
ruby_cloud_title = "Migrate for Compute Engine",
|
|
transport = "grpc+rest",
|
|
)
|
|
|
|
# Open Source package.
|
|
ruby_gapic_assembly_pkg(
|
|
name = "google-cloud-vmmigration-ruby",
|
|
deps = [
|
|
":vmmigration_ruby_wrapper",
|
|
],
|
|
)
|
|
|
|
nodejs_gapic_combined_pkg(
|
|
name = "google-cloud-vmmigration-nodejs",
|
|
default_version = "v1",
|
|
release_level = "stable",
|
|
templates_excludes = ["package.json", ".OwlBot.yaml"],
|
|
deps = [
|
|
"//google/cloud/vmmigration/v1:vmmigration-v1-nodejs"
|
|
],
|
|
)
|