diff --git a/packages/google-cloud-videointelligence/synth.metadata b/packages/google-cloud-videointelligence/synth.metadata index 457d3474d07..7ffa96a65ee 100644 --- a/packages/google-cloud-videointelligence/synth.metadata +++ b/packages/google-cloud-videointelligence/synth.metadata @@ -3,23 +3,15 @@ { "git": { "name": ".", - "remote": "https://github.com/googleapis/nodejs-video-intelligence.git", - "sha": "b3fa3ef1e6648379495d5c94e8dea184b8fcec4d" - } - }, - { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "ce56112c3585cae794cc6c066eee175b931bebbc", - "internalRef": "314387187" + "remote": "git@github.com:googleapis/nodejs-video-intelligence.git", + "sha": "81c92d800f932db89430cd7af2d9e1d73305d499" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "dc9caca650c77b7039e2bbc3339ffb34ae78e5b7" + "sha": "303271797a360f8a439203413f13a160f2f5b3b4" } } ], @@ -27,46 +19,46 @@ { "client": { "source": "googleapis", - "apiName": "video-intelligence", + "apiName": "videointelligence", "apiVersion": "v1beta2", - "language": "typescript", - "generator": "gapic-generator-typescript" + "language": "nodejs", + "generator": "bazel" } }, { "client": { "source": "googleapis", - "apiName": "video-intelligence", + "apiName": "videointelligence", "apiVersion": "v1p1beta1", - "language": "typescript", - "generator": "gapic-generator-typescript" + "language": "nodejs", + "generator": "bazel" } }, { "client": { "source": "googleapis", - "apiName": "video-intelligence", + "apiName": "videointelligence", "apiVersion": "v1p2beta1", - "language": "typescript", - "generator": "gapic-generator-typescript" + "language": "nodejs", + "generator": "bazel" } }, { "client": { "source": "googleapis", - "apiName": "video-intelligence", + "apiName": "videointelligence", "apiVersion": "v1p3beta1", - "language": "typescript", - "generator": "gapic-generator-typescript" + "language": "nodejs", + "generator": "bazel" } }, { "client": { "source": "googleapis", - "apiName": "video-intelligence", + "apiName": "videointelligence", "apiVersion": "v1", - "language": "typescript", - "generator": "gapic-generator-typescript" + "language": "nodejs", + "generator": "bazel" } } ] diff --git a/packages/google-cloud-videointelligence/synth.py b/packages/google-cloud-videointelligence/synth.py index ead9f7d4414..338606b4d73 100644 --- a/packages/google-cloud-videointelligence/synth.py +++ b/packages/google-cloud-videointelligence/synth.py @@ -7,7 +7,7 @@ AUTOSYNTH_MULTIPLE_COMMITS = True -gapic = gcp.GAPICMicrogenerator() +gapic = gcp.GAPICBazel() common_templates = gcp.CommonTemplates() versions = ["v1", "v1beta2", "v1p1beta1", "v1p2beta1", "v1p3beta1"] @@ -19,16 +19,7 @@ order_versions.index(default_version))) for version in order_versions: - library = gapic.typescript_library( - "video-intelligence", - version, - generator_args={ - "grpc-service-config": f"google/cloud/videointelligence/{version}/videointelligence_grpc_service_config.json", - "package-name": "@google-cloud/video-intelligence", - "main-service": "videointelligence", - }, - proto_path=f'/google/cloud/videointelligence/{version}', - ) + library = gapic.node_library("videointelligence", version) # skip index, protos, package.json, and README.md s.copy(library, excludes=["package.json", "README.md"])