-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4bb1d4
commit 6147b06
Showing
11 changed files
with
26,323 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<img src="https://avatars0.githubusercontent.com/u/1342004?v=3&s=96" alt="Google Inc. logo" title="Google" align="right" height="96" width="96"/> | ||
|
||
# alloydb | ||
|
||
> AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases. | ||
## Support status | ||
**Note**: Google provides multiple libraries for this service. This library is in | ||
maintenance mode, and will continue to be made available for users who have | ||
existing applications. If you're building a new application, or modernizing a | ||
legacy application, please use [@google-cloud/alloydb](https://www.npmjs.com/package/@google-cloud/alloydb) instead. | ||
The [@google-cloud/alloydb](https://www.npmjs.com/package/@google-cloud/alloydb) library is faster, easier to use, and better maintained. | ||
|
||
To learn more, see [Client Libraries Explained](https://cloud.google.com/apis/docs/client-libraries-explained). | ||
|
||
## Installation | ||
|
||
```sh | ||
$ npm install @googleapis/alloydb | ||
``` | ||
|
||
## Usage | ||
All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client). | ||
Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/alloydb/classes/Alloydb.html). | ||
|
||
## License | ||
This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE). | ||
|
||
## Contributing | ||
We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md). | ||
|
||
## Questions/problems? | ||
* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). | ||
* If you've found an bug/issue, please [file it on GitHub](https://github.com/googleapis/google-api-nodejs-client/issues). | ||
|
||
|
||
*Crafted with ❤️ by the Google Node.js team* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
// Copyright 2020 Google LLC | ||
// 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 | ||
// | ||
// 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 FILE IS AUTO-GENERATED */ | ||
|
||
import {AuthPlus, getAPI, GoogleConfigurable} from 'googleapis-common'; | ||
import {alloydb_v1} from './v1'; | ||
import {alloydb_v1alpha} from './v1alpha'; | ||
import {alloydb_v1beta} from './v1beta'; | ||
|
||
export const VERSIONS = { | ||
v1: alloydb_v1.Alloydb, | ||
v1alpha: alloydb_v1alpha.Alloydb, | ||
v1beta: alloydb_v1beta.Alloydb, | ||
}; | ||
|
||
export function alloydb(version: 'v1'): alloydb_v1.Alloydb; | ||
export function alloydb(options: alloydb_v1.Options): alloydb_v1.Alloydb; | ||
export function alloydb(version: 'v1alpha'): alloydb_v1alpha.Alloydb; | ||
export function alloydb( | ||
options: alloydb_v1alpha.Options | ||
): alloydb_v1alpha.Alloydb; | ||
export function alloydb(version: 'v1beta'): alloydb_v1beta.Alloydb; | ||
export function alloydb( | ||
options: alloydb_v1beta.Options | ||
): alloydb_v1beta.Alloydb; | ||
export function alloydb< | ||
T = alloydb_v1.Alloydb | alloydb_v1alpha.Alloydb | alloydb_v1beta.Alloydb, | ||
>( | ||
this: GoogleConfigurable, | ||
versionOrOptions: | ||
| 'v1' | ||
| alloydb_v1.Options | ||
| 'v1alpha' | ||
| alloydb_v1alpha.Options | ||
| 'v1beta' | ||
| alloydb_v1beta.Options | ||
) { | ||
return getAPI<T>('alloydb', versionOrOptions, VERSIONS, this); | ||
} | ||
|
||
const auth = new AuthPlus(); | ||
export {auth}; | ||
export {alloydb_v1}; | ||
export {alloydb_v1alpha}; | ||
export {alloydb_v1beta}; | ||
export { | ||
AuthPlus, | ||
GlobalOptions, | ||
APIRequestContext, | ||
GoogleConfigurable, | ||
StreamMethodOptions, | ||
GaxiosPromise, | ||
MethodOptions, | ||
BodyResponseCallback, | ||
} from 'googleapis-common'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"name": "@googleapis/alloydb", | ||
"version": "0.1.0", | ||
"description": "alloydb", | ||
"main": "build/index.js", | ||
"types": "build/index.d.ts", | ||
"keywords": [ | ||
"google" | ||
], | ||
"author": "Google LLC", | ||
"license": "Apache-2.0", | ||
"homepage": "https://github.com/googleapis/google-api-nodejs-client", | ||
"bugs": { | ||
"url": "https://github.com/googleapis/google-api-nodejs-client/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/googleapis/google-api-nodejs-client.git" | ||
}, | ||
"engines": { | ||
"node": ">=12.0.0" | ||
}, | ||
"scripts": { | ||
"fix": "gts fix", | ||
"lint": "gts check", | ||
"compile": "tsc -p .", | ||
"prepare": "npm run compile", | ||
"webpack": "webpack" | ||
}, | ||
"dependencies": { | ||
"googleapis-common": "^7.0.0" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-documenter": "^7.8.10", | ||
"@microsoft/api-extractor": "^7.8.10", | ||
"gts": "^5.0.0", | ||
"null-loader": "^4.0.0", | ||
"ts-loader": "^9.0.0", | ||
"typescript": "~4.8.4", | ||
"webpack": "^5.0.0", | ||
"webpack-cli": "^5.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "./node_modules/gts/tsconfig-google.json", | ||
"compilerOptions": { | ||
"rootDir": ".", | ||
"outDir": "build" | ||
}, | ||
"include": [ | ||
"*.ts", | ||
] | ||
} |
Oops, something went wrong.