Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**_THIS REPOSITORY IS DEPRECATED. ALL OF ITS CONTENT AND HISTORY HAS BEEN MOVED TO [GOOGLE-CLOUD-NODE](https://github.com/googleapis/google-cloud-node/tree/main/packages/handwritten)_**

[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
[//]: # "To regenerate it, use `python -m synthtool`."
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
Expand Down
15 changes: 6 additions & 9 deletions owlbot.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
# Copyright 2020 Google LLC
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the License);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""This script is used to synthesize generated parts of this library."""
import synthtool.languages.node as node

node.owlbot_main(
staging_excludes=['package.json', 'README.md', 'src/index.ts'],
templates_excludes=['src/index.ts','.OwlBot.yaml']
)
node.owlbot_main(templates_excludes=[
'README.md'
])
60 changes: 25 additions & 35 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,60 +12,50 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** This file is automatically generated by synthtool. **
// ** https://github.com/googleapis/synthtool **
// ** All changes to this file may be overwritten. **

import * as adapt from './adapt';
import * as managedwriter from './managedwriter';
import * as protobuf from './protobuf';
import * as reader from './reader';
import * as util from './util';
import * as v1 from './v1';
import * as v1beta1 from './v1beta1';
import * as v1alpha from './v1alpha';
import * as v1beta from './v1beta';
import * as managedwriter from './managedwriter';
import * as reader from './reader';
import * as v1beta1 from './v1beta1';

const BigQueryReadClient = v1.BigQueryReadClient;
type BigQueryReadClient = v1.BigQueryReadClient;
const BigQueryWriteClient = v1.BigQueryWriteClient;
type BigQueryWriteClient = v1.BigQueryWriteClient;
const BigQueryStorageClient = v1beta1.BigQueryStorageClient;
type BigQueryStorageClient = v1beta1.BigQueryStorageClient;
const WriterClient = managedwriter.WriterClient;
type WriterClient = managedwriter.WriterClient;
const ReadClient = reader.ReadClient;
type ReadClient = reader.ReadClient;

export {
adapt,
managedwriter,
protobuf,
reader,
util,
v1,
BigQueryReadClient,
v1beta1,
v1alpha,
v1beta,
BigQueryStorageClient,
v1beta1,
BigQueryReadClient,
BigQueryWriteClient,
managedwriter,
WriterClient,
reader,
ReadClient,
};
// For compatibility with JavaScript libraries we need to provide this default export:
// tslint:disable-next-line no-default-export
export default {
adapt,
managedwriter,
protobuf,
reader,
util,
v1,
v1alpha,
v1beta,
v1beta1,
BigQueryReadClient,
BigQueryWriteClient,
managedwriter,
WriterClient,
reader,
ReadClient,
};
import * as protos from '../protos/protos';
export {protos};
import * as adapt from './adapt';
export {adapt};

// Add extra protobufjs definitions.
// When importing protobufjs/ext/descriptor package, it monkey patches some methods
// that we use in this package. We need to manually declare some of those
// methods that we use to make the Typescript compiler happy.
// There are some open issues around that. After they are fixed, we can remove this:
// * https://github.com/protobufjs/protobuf.js/issues/1499
// * https://github.com/protobufjs/protobuf.js/issues/1149
import './protobuf';
Loading